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

Stop propagation for underlying elements #31

Open
q2apro opened this issue Jun 18, 2022 · 0 comments
Open

Stop propagation for underlying elements #31

q2apro opened this issue Jun 18, 2022 · 0 comments

Comments

@q2apro
Copy link

q2apro commented Jun 18, 2022

When you use a wenk tooltip on a mobile device and the user wants to close it by clicking on it, and if there is an underlying element, the underlying element receives the click.

If the underlying element is a link, the user gets directed to the link.

Expected behavior: Tooltip should close.

How to fix this?



I hoped I could use Javascript, but as it seems, clicks on :before and :after elements cannot be caught: https://stackoverflow.com/q/7478336/1066234

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

1 participant