Figma Support Forum

Plugin window disappears when new tab is opened

I’m working on a plugin for my team, and seeing a bug where, if you have the plugin open in a file and then you hit the “+” tab to create a new Figma file, when you go back to the original tab, the plugin window is gone. However, the plugin appears to still be running in the background, because the console log messages are still showing up when selections are made. What’s worse is that you can’t just re-launch the plugin in this state; the plugin window won’t show up again until you close that file tab and re-open it. It’s like Figma loses track of the UI window, but still thinks its around and so won’t open a new one.

Anyone else had this issue or know of a fix?