-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Describe the bug
When using dashboards in GeoNode (MapStore client), clicking the widget “maximize” (fullscreen) icon fails if the dashboard contains only one view.
Instead of showing the widget maximized, the dashboard content becomes blank (white container). No network requests or JavaScript exceptions are triggered.
If a second view is added (even an empty one), the maximize behavior works correctly.
Expected Behavior
When the maximize button is clicked, the widget should take up the full height and width of the dashboard container
Steps to Reproduce the Problem
- Create a dashboard with at least one widget and only one view
- Click the 'maximize' icon at the top-left of the widget
- The view is empty (all widgets are removed from the DOM in the dev console element viewer)
workaround: before clicking 'maximize' add a second (empty) view => maximize works
Specifications
- GeoNode client version: django-geonode-mapstore-client: 5.0.0.dev0
- Browser: Chrome Versie 143.0.7499.110 (Officiële build) (64-bits)
- Installation type (vanilla, geonode-project): https://github.com/GeoNode/geonode/ + "docker compose up"
- Additional details:
No network requests are fired when clicking maximize
No JS exceptions (even with “pause on caught exceptions” enabled)
DOM inspection shows the widget container being removed from the layout during full-screen when only one view exists