Skip to content

RAC: Select + AnimatePresence (motion/react)Β #9412

@blue-infinex

Description

@blue-infinex

Related to #6369

Provide a general summary of the issue here

When using AnimatePresence from "motion/react", the Popover component can be animated. However, this only works with DialogTrigger, not when composed within Select.

πŸ€” Expected Behavior?

I would expect the popover to be displayed regardless of trigger.

😯 Current Behavior

The popover does re-render but overlay trigger state's isOpen property is false.

πŸ’ Possible Solution

I've looked through Select and useSelectState but can't see anything obvious πŸ€·β€β™‚οΈ

πŸ”¦ Context

No response

πŸ–₯️ Steps to Reproduce

https://codesandbox.io/p/sandbox/x82fzp

Version

1.14.0

What browsers are you seeing the problem on?

Other

If other, please specify.

All

What operating system are you using?

macOS 15.7.2

🧒 Your Company/Team

No response

πŸ•· Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions