Skip to content

Remove @legendapp/motion dependency from Select component to resolve peer dependency issues #3437

Description

@qkreltms

Currently, the Select component in Gluestack V5 relies on @legendapp/motion for its animations. However, it seems that @legendapp/motion is not actively maintained. Its outdated peer dependencies cause conflicts with newer versions of React and React Native, forcing developers to use the --legacy-peer-deps flag during installation.

Why is this a problem?

Requiring --legacy-peer-deps disrupts the standard npm install workflow and can lead to an unstable dependency tree across the entire project. It makes project maintenance difficult and degrades the developer experience.

I'd love to hear your thoughts on the best approach for the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions