Skip to main content
Question

How to create modal window in plugin UI?


user_of_figma

Hello. I am creating modal window. A usual:

  • Some full-screen wrapper with z-index: 9999, position: fixed and so on.
  • And some content inside it

But My inteface is clickable throught modal despite pointer-events: none and z-index. What to do ?

Is it a known problem for plugin inside iframe ?

This topic has been closed for replies.

2 replies

Pavel_Kiselev

There is a dialog element available, its new and awesome

MDN Web Docs

I used it for my plugin, it works great and doesn’t have accessibility drawbacks


user_of_figma

Thanks, Pavel @Pavel_Kiselev


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