Skip to content

fix(ui): smooth opacity transition on SendButton visibility toggle - #5369

Open
Iqrima wants to merge 1 commit into
macro-inc:mainfrom
Iqrima:fix/ui-send-button-opacity-transition
Open

fix(ui): smooth opacity transition on SendButton visibility toggle#5369
Iqrima wants to merge 1 commit into
macro-inc:mainfrom
Iqrima:fix/ui-send-button-opacity-transition

Conversation

@Iqrima

@Iqrima Iqrima commented Aug 1, 2026

Copy link
Copy Markdown

What changed

Updated SendButton.tsx transition CSS properties to include opacity alongside transform (transition-[transform,opacity]).

Why

SendButton toggles opacity-0! via local.hidden when the input state changes, but line 35 previously only transitioned scale transforms, causing the button to snap abruptly when hidden/shown.

How it was tested

Verified that the send button fades smoothly over 150ms when toggled in ChatInput.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 937ca42f-e327-452d-a70e-d8b64eca7bd0

📥 Commits

Reviewing files that changed from the base of the PR and between dd314b2 and 538662a.

📒 Files selected for processing (1)
  • apps/web/src/components/ui/components/SendButton.tsx

📝 Walkthrough

Summary by CodeRabbit

  • Style
    • Improved the send button’s animation with smoother transform and fade effects.
    • Added a brief ease-out transition for a more responsive interface.

Walkthrough

Updated the SendButton transition classes to animate both transform and opacity. The transition now uses ease-out timing with a 150-millisecond duration.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title uses conventional commit format, describes the SendButton opacity transition, and is 66 characters long.
Description check ✅ Passed The description clearly explains the SendButton change, its purpose, and how it was tested.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant