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

bug: information modal should not click when user clicks within the info modal #1

Open
AhsanAyaz opened this issue Oct 4, 2023 · 1 comment

Comments

@AhsanAyaz
Copy link
Owner

Current behavior:
If you open the info modal, and click inside it, the modal closes

Desired behavior:
The modal should only close if the user clicks outside of it

@RaviTejaVattem
Copy link

Hi @AhsanAyaz,

I would like to fix this issue.

Moving the click event from the parent div to child div(How to play) seems to have fixed the issue. Although this will not work if I click above or below the info div as this is given style h-full(not sure if this is expected).

Please let me know if I can create a PR.

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

No branches or pull requests

2 participants