Opening & Closing Content(CSUI) Script when extension icon is clicked
i've some entire react component tree that is rendered using in context.tsx file, it has opening and closing mechanism through state, but i want that my extension(entire should) open & close when i click on browser icon, anybody has idea how to solve this?
one of the things that i notice and tried was to render popup.tsx conditionally, and try to give it some css hack. but that didn't work.
Also give suggestions if you're mange do something like this using a different approach.
P.S video shows example of what i want to do, it's not my extension. but it also uses plasmo
1 Reply
@Jimmy Did you find out how to do that ? I too stumbled on Merlin doing that and wondered how to achieve it.