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

Pointerup event listener on close button - element behind is clicked #208

Open
oldru27 opened this issue Nov 14, 2023 · 3 comments
Open

Comments

@oldru27
Copy link

oldru27 commented Nov 14, 2023

We have a panel opening by clicking on an element. When we open the panel on mobile and try to close it using the close button on the header section, the panel closes and directly opens again. It occurs only on mobile and when the close button is above the element behind.

One possible explanation could be that the panel is destroyed on the pointerup on the close button and then the element behind is clicked.

On the meantime, we have changed our click event listener, on the element behind the panel, toward a pointerup event listener, and it works.

Thank you,
Olivier

@Flyer53
Copy link
Owner

Flyer53 commented Nov 17, 2023

Hi Oliver,
Thanks for the info. I can confirm this behaviour but can't say anything more about it currently.
In case you have an idea how to get this fixed ... please share it 😏
Regards,
Stefan

@oldru27
Copy link
Author

oldru27 commented Nov 17, 2023

Hi,
Thank you for you answer, i will let you know if we find solution.
Regards,
Olivier

@2llco
Copy link

2llco commented Nov 19, 2023

Hi I have exactly the same behavior. On mobile only, when I close jsPanel it make a click on the element behind.

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

3 participants