Skip to content

[BUG] useChakraSelectProps not working #370

@JenangMaker

Description

@JenangMaker

Description

When using useChakraSelectProps on freshly installed next js and latest chakra ui resulting error
useContext returned undefined. Seems you forgot to wrap component within <ChakraProvider />

chakra-react-select Version

6.1.0

Link to Reproduction

https://codesandbox.io/p/github/JenangMaker/test-bug-chakra-select

TypeScript?

  • Yes I use TypeScript

Steps to reproduce

  1. Create fresh next js template
  2. install chakra ui
  3. install chakra react select
  4. create a select with useChakraSelectProps

Operating System

  • macOS
  • Windows
  • Linux
  • iOS/iPadOS
  • Android

Package Manager

NPM

Additional Information

Using

  • ChakraUI 3.17.0
  • chakra-react-select 6.1.0
  • NextJS 15.3.1

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions