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 pointer-events CSS property #731

Closed
richard-to opened this issue Aug 4, 2024 · 0 comments · Fixed by #736
Closed

Add pointer-events CSS property #731

richard-to opened this issue Aug 4, 2024 · 0 comments · Fixed by #736
Assignees

Comments

@richard-to
Copy link
Collaborator

Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events

One drawback of the snackbar example right now is that no interaction is allowed on other elements due to the fixed div that is created. However it seems there's a pointer-events property that can help with this. When set to None, this seems to allow the underlying elements to be clickable.

@richard-to richard-to self-assigned this Aug 4, 2024
richard-to added a commit to richard-to/mesop that referenced this issue Aug 4, 2024
- Updates snackbar example to use pointer events property
- Updates dialog to use place-items

- Closes google#629
- Closes google#731
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 a pull request may close this issue.

1 participant