I am making a firefox extension using their addon builder and I am trying to open a popup when I click on the toolbar button. However, it seems that the panel dimensions cannot be set to automatic. I load some content after calling api, so the content of the html panel changes. How to resize a panel to fit an html document automatically, for example, a default popup in google chrome extensions?
source share