browser_action popup wrong size

First of all I hope I’m not asking in wrong place.

I made extension for Firefox using WebExtension API. Problem I face is that when i click on extension icon and open browser action popup it’s wrong size. To be more precise its size of first “page”. Once content of popup is changed, size of popup stays same and i get scroll bars. I tried to fix this with CSS and only thing that worked is putting static height and width of body element. After that changing width and height wont do trick again. Because login page and main page are way different size it’s not good enough solution. Is this know bug or I doing something wrong?

I don’t know if it’s a known bug, but I suggest you file it here.