-
Notifications
You must be signed in to change notification settings - Fork 270
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
UserProfilePage is not allow select element #4308
Comments
No it's not working the shadcn-ui select menu is also nto working inside the Modal. |
Hey @areeburrub, please create a public repo and post it here, so we can have a look. |
Hey @panteliselef https://github.com/areeburrub/clerk-userpage-issue the problem is that the shadcn-ui Select Menu is not working inside the <UserButton.UserProfilePage/> Steps:
|
PS: found a way around it also if we remove the <SelectPrimitive.Portal>
...
</SelectPrimitive.Portal> check this |
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
Publishable key
Description
Hi everyone;
I'm developing on Nextjs and using Clerk's components. And i want to add a custom page to user's profile modal to change their system language from select box. And I created a component based on UserButton.UserProfilePage. But I can not activate click action on select element because of a focus event. Here is my code;
After ignore focus event on select, then select is working as expected.
Because of this bug, I can not use shadcn's components as well inside custom profile pages.
Environment
The text was updated successfully, but these errors were encountered: