I am using 'appAPI.browserAction.setPopup' to setup the initial popop in Background.js.
The Popup HTML comprises of 3 sections; I am displaying each section on demand using jQuery show() and hide() methods
Problem is that all sections have different heights because of which I need to adjust the height of the Popup.
In Chrome, the height gets adjusted automatically; however, in FF the height doesn't get adjusted.
To fix it in FF, I have tried the following -
1. Re-adjust height of body tag.
2. Recall appAPI.browserAction.setPopup in Popup HTML
Both calls are not re-adjusting the popup height. Please help.
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
EMPLOYEE
1Hello Dan,
In general, we recommend creating the popup at the maximum size that will be required during its life-cycle. The reason for this is simply because the only supported browser that provides a native popup (which can be re-sized) is Chrome.
For all other supported browser, we developed our own popup solution which currently does not support re-sizing. I have forwarded your requirement to the product team to consider, but it is unlikely to be be available any time soon and hence I suggest you adopt the recommendation previously mentioned. -
-
Thanks for your response. We have handled it the same way, as mentioned in your response.
-
Loading Profile...




