[PR #5653] docs: improve UX for floating-ai-search component #14389

Closed
opened 2026-04-13 09:27:04 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5653

State: closed
Merged: Yes


Before -> After

https://github.com/user-attachments/assets/8d6240bc-30b7-4a8f-8e9b-10db9f0a4002


Summary by cubic

Improved the floating search UX with smoother open/close transitions, better mobile pill scrolling, and a cleaner collapsed trigger. Also fixed invalid DOM props and a transition flicker.

  • Bug Fixes

    • Removed non-DOM props (isMobile, messageCount) from native elements to stop React warnings.
    • Delayed content mount on open to prevent flicker during transitions.
  • Refactors

    • Unified pill styles; enabled horizontal scroll with gradient mask and nowrap.
    • Added fade/blur-in on expand; added border, backdrop blur, and scale feedback on the collapsed button.
    • Simplified prop handling in SearchAIInput; commented out unused SVG component and removed unused import.
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5653 **State:** closed **Merged:** Yes --- ### Before -> After https://github.com/user-attachments/assets/8d6240bc-30b7-4a8f-8e9b-10db9f0a4002 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Improved the floating search UX with smoother open/close transitions, better mobile pill scrolling, and a cleaner collapsed trigger. Also fixed invalid DOM props and a transition flicker. - **Bug Fixes** - Removed non-DOM props (isMobile, messageCount) from native elements to stop React warnings. - Delayed content mount on open to prevent flicker during transitions. - **Refactors** - Unified pill styles; enabled horizontal scroll with gradient mask and nowrap. - Added fade/blur-in on expand; added border, backdrop blur, and scale feedback on the collapsed button. - Simplified prop handling in SearchAIInput; commented out unused SVG component and removed unused import. <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:27:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14389