Skip to content

Fix the layout for modal, dialog due to the change in MapViewerLayout#11956

Merged
allyoucanmap merged 4 commits intogeosolutions-it:masterfrom
subashtiwari1010:fix/viewer-modal-issue
Feb 6, 2026
Merged

Fix the layout for modal, dialog due to the change in MapViewerLayout#11956
allyoucanmap merged 4 commits intogeosolutions-it:masterfrom
subashtiwari1010:fix/viewer-modal-issue

Conversation

@subashtiwari1010
Copy link
Copy Markdown
Contributor

Description

This PR updates the UI layout when the dialog, modal opens. It addresses the issue mentioned in #11789 (comment).

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

Issue

What is the current behavior?
Some of the modal, dialog present in the body does not load properly as header and footer overlaps them.
#11794

What is the new behavior?
The modal, dialog are now wrapped with Portal so it does not clashes with the header and footer.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@subashtiwari1010 subashtiwari1010 added this to the 2026.01.00 milestone Feb 5, 2026
@cla-bot cla-bot Bot added the CLA Ready label Feb 5, 2026
@subashtiwari1010 subashtiwari1010 marked this pull request as ready for review February 5, 2026 10:31
@subashtiwari1010 subashtiwari1010 linked an issue Feb 5, 2026 that may be closed by this pull request
8 tasks
Copy link
Copy Markdown
Contributor

@allyoucanmap allyoucanmap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@subashtiwari1010 using Portal seems fine to solve this problem, I noticed also following problems:

  • When opening a right panel such as Layer Catalog the footer is pushed down
  • We need to add a z-index also minimum e.g. 10 to the mapstore-map-footer to hide the shadow coming from the above panels
  • When opening the attribute table the first time the placeholder with the loading is not taking the correct space and there is a floating spinner

@allyoucanmap allyoucanmap merged commit 0eae957 into geosolutions-it:master Feb 6, 2026
12 checks passed
@allyoucanmap
Copy link
Copy Markdown
Contributor

@ElenaGallo please test in dev this additional tests, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the map viewer layout to use different container position

2 participants