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

TypeError: Cannot read properties of null (reading 'focus') #3133

Open
wentChu opened this issue Sep 21, 2024 · 1 comment
Open

TypeError: Cannot read properties of null (reading 'focus') #3133

wentChu opened this issue Sep 21, 2024 · 1 comment

Comments

@wentChu
Copy link

wentChu commented Sep 21, 2024

Bug report

Current Behavior

@radix-ui/react-select position: "popper"

Customize the filter and add input to selectContent. Do not remove the focus during input. It will automatically focus on the item, resulting in an error.
image
image

Suggested solution

It is recommended to open the switch for automatic focus of selectItem to the public.

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-select ^2.1.1
React n/a ^18.3.1
next.js n/a ^14.2.5
Browser google
Assistive tech
Node n/a v20.12.2
npm/yarn yarn 1.22.19
Operating System macos m1
@amanfangeria980
Copy link

Did you get any fix for this?

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

No branches or pull requests

2 participants