Skip to content

Missing dependency for select package #3005

@mastergberry

Description

@mastergberry

Description

When trying to import/use Select from Gluestack-UI, it breaks

CodeSandbox/Snack link

N/A

Steps to reproduce

Try to use the Select gluestack-ui element

gluestack-ui Version

select 0.1.31

Platform

  • Expo
  • React Native CLI
  • Next
  • Web
  • Android
  • iOS

Other Platform

No response

Additional Information

https://github.com/gluestack/gluestack-ui/blob/main/packages/unstyled/select/src/Select.tsx

This references on line 3 the package @react-native-aria/interactions, but this is not a dependency in the package.json.

Similar to the issue reported for textarea here: #2792

I imagine this is a simple/easy fix. For now I have just worked around it by adding the missing dependency to my project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions