spacetelescope / jdaviz

JWST astronomical data analysis tools in the Jupyter platform
https://jdaviz.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
142 stars 74 forks source link

[BUG] VSCode: opening a plugin resizes entire application. #3313

Open rosteen opened 6 days ago

rosteen commented 6 days ago

Jdaviz component

Cubeviz

Description

Follow up from #3309, something I noticed when testing that is that when running in VSCode, opening a plugin causes the whole application to resize to be large enough to display the entire plugin, rather than having a scrollbar:

https://github.com/user-attachments/assets/91e0f669-d504-4f48-8ddd-70754a75e8a0

How to Reproduce

Run Jdaviz inside of VSCode, open a plugin.

Expected behavior

No response

Browser

No response

Jupyter

No response

Software versions

No response

gibsongreen commented 2 days ago

Here's another video that shows related behavior:

Unrelated to this issue, I have seen both the expected icons displaying correctly throughout the app and how they display in this video below (I made some changes to my local environment but haven't pinpointed what causes the display bug).

https://github.com/user-attachments/assets/7e03b0f6-b51a-43af-b893-a4d69b616633