Skip to main content

Clickable button while overlay is open


Harald_Skogland

I want to have an interactive component working as a clickable button. If this button is displaying an overlay while hovering I still want to be able to click this button. It seems any overlay creates a “fully covering layer” that blocks input to any layers below.

I was able to make this work with an oversized overlay that is literally ‘layered over’ the button I want to click. So it appears that the button is clicked but the interaction is really triggered from the overlay.

This interaction should work without this ‘hack’… I’ve also seen in comments that others have bypassed this with using mouse/up down, but I was not succesful at that.



This topic has been closed for comments

2 replies

Harald_Skogland

Related to this, or almost the same is making an interaction where I want to have mouse enter and mouse leave to open and close an overlay. It appears I can’t have mouse leave to be used for closing overlay, because the input is on a layer below, once the overlay is displayed. So because of that mouse leave won’t register. So this is not working as (at least I) would have expected…


  • 0 replies
  • June 3, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings