Skip to main content
Question

How to create modal window in plugin UI?

  • March 28, 2024
  • 2 replies
  • 253 views

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