Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for chakra-react-select v4 #3152

Closed
4 tasks done
ldorofeeva opened this issue Sep 27, 2022 · 1 comment · Fixed by #3172
Closed
4 tasks done

Add support for chakra-react-select v4 #3152

ldorofeeva opened this issue Sep 27, 2022 · 1 comment · Fixed by #3172
Assignees
Labels

Comments

@ldorofeeva
Copy link
Contributor

ldorofeeva commented Sep 27, 2022

Prerequisites

What theme are you using?

chakra-ui

Version

5.0.0-beta.9

Current Behavior

@rjsf/chakra-ui has a dependency "chakra-react-select": "^3.3.8"

A combination of @chakra-ui/react@^2.0.0 and react@^18.0.0 with chakra-react-select v3 has a known issue with styles - Select element is not displayed correctly in the Dark mode (see this issue in chakra-react-select repo)

image

Please add support for chakra-react-select v4.

Expected Behavior

Correct styles in dark mode, such as in native Select component of chakra-react-select v4:

image

Steps To Reproduce

Link to the sandbox:
https://codesandbox.io/s/react-18-chakra-2-crs-4-vs-rjsf-chakra-ui-5-example-lj04hz

Switch to dark mode to see the difference

Environment

- OS: CentOS 7
- Node: 16.15.0
- npm: 8.13.1

- @chakra-ui/react@2.2.1
- react@18.2.0

Anything else?

No response

@ldorofeeva ldorofeeva added bug needs triage Initial label given, to be assigned correct labels and assigned labels Sep 27, 2022
@ldorofeeva ldorofeeva changed the title Add support for chakra-react-select>=4.2.3 Add support for chakra-react-select v4 Sep 28, 2022
@heath-freenome heath-freenome removed the needs triage Initial label given, to be assigned correct labels and assigned label Sep 29, 2022
@heath-freenome
Copy link
Member

@ldorofeeva is this something you'd be interested in providing a fix for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants