You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an ipyleaflet Map object is placed inside a tab other than the first one, it doesn't get fully rendered, where there are gray areas as illustrated in the screenshot.
I am suspecting this is an issue more related to the Tab widget rather than the Map class, because when I place the map on the first tab, it renders correctly. But it might be a bug with ipyleaflet as well. Let me know what you think!
Reproduce
Create a fresh environment, with ipyleaflet and ipywidgets installed.
That is a known current issue, as I recall it gets fixed in ipywidgets 8. If I can find the issue/comment I will post a link to it here. I did not find it with a quick search.
As a workaround - if you resize your browser window, make it full screen, then not full screen, the map will display correctly.
Description
When an ipyleaflet Map object is placed inside a tab other than the first one, it doesn't get fully rendered, where there are gray areas as illustrated in the screenshot.
I am suspecting this is an issue more related to the Tab widget rather than the Map class, because when I place the map on the first tab, it renders correctly. But it might be a bug with ipyleaflet as well. Let me know what you think!
Reproduce
Expected behavior
Map should be rendered without gray areas.
Context
The text was updated successfully, but these errors were encountered: