Skip to content

Fix overlay issue#43

Merged
bright-pilot merged 2 commits intomainfrom
fix-overlay-issue
Dec 8, 2025
Merged

Fix overlay issue#43
bright-pilot merged 2 commits intomainfrom
fix-overlay-issue

Conversation

@bright-pilot
Copy link
Collaborator

Shadcn drawer (radix drawer to be specific) removes the pointer event from all the element except the drawer, by adding pointer-events:none to the body itself.

Causing the picker to no get any pointer events since we are using portal to render picker as the last element of the body.

This solves the issue by adding pointer-events: auto to the picker which will stop it from inheriting the value from the body.

@bright-pilot bright-pilot merged commit 4b2d7be into main Dec 8, 2025
@bright-pilot bright-pilot deleted the fix-overlay-issue branch December 8, 2025 08:00
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

Successfully merging this pull request may close these issues.

1 participant