PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.16k stars 352 forks source link

[BUG] The side panel cannot pick up the height of the screen #718

Closed umaxiaotian closed 1 year ago

umaxiaotian commented 1 year ago

What happened?

I am creating an extension using the recently introduced Sidepanel feature, but it does not expand to fill the screen even if I set the screen height as height:100%.

Is this simply a bug? I have forced myself to use JS to get the height and be able to resize it. image

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

louisgv commented 1 year ago

@umaxiaotian thanks for the flag - I think you can import a css file and set the body height to 100%, maybe that might fix it (?). Tho, this is unrelated to the framework - if it's a bug it should be filed on the chromium bug tracker, since the sidebar container is a plain div wrapper under the body.