jsPanel4 icon indicating copy to clipboard operation
jsPanel4 copied to clipboard

Pointerup event listener on close button - element behind is clicked

Open oldru27 opened this issue 2 years ago • 4 comments

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

oldru27 avatar Nov 14 '23 10:11 oldru27

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

Flyer53 avatar Nov 17 '23 09:11 Flyer53

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

oldru27 avatar Nov 17 '23 15:11 oldru27

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

2llco avatar Nov 19 '23 13:11 2llco