radix-ui / primitives

Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
https://radix-ui.com/primitives
MIT License
15.93k stars 833 forks source link

[Select] The select is missing the `forceMount` prop #3236

Open luuuppi opened 5 days ago

luuuppi commented 5 days ago

Bug report

I use Radix components in my app and animate them using Framer Motion, but without the forceMount it's impossible to handle an exit animation

Current Behavior

No exit animation for the Select component

Expected behavior

The presence of exit animation for the Select component

Suggested solution

Maybe using a Presence from @radix-ui/react-presence will help, like in popover

Your environment

Software Name(s) Version
Radix Package(s) react-select 2.1.2
React n/a 18.3.1
Browser Chrome 131.0.6778.71
Assistive tech
Node n/a 20.11.0
npm/yarn npm 10.9.0
Operating System Windows 11