Skip to content

PB-1697: limiting floating window's height#1341

Merged
pakb merged 1 commit intodevelopfrom
fix-PB-1697-simple-window-too-big-when-broser-zoom
May 16, 2025
Merged

PB-1697: limiting floating window's height#1341
pakb merged 1 commit intodevelopfrom
fix-PB-1697-simple-window-too-big-when-broser-zoom

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented May 16, 2025

Some users that use the browser zoom to enlarge the UI have issues with the SimpleWindow component (especially when it's used by the feedback component) because it grows too high, and overflow the header (some even saying the X button of the window was out of screen).

So to fix that, I've limited the height of all simple windows to 2/3 of the height of the screen. This was tested with a browser zoom of 200% and having the "report a problem" window opened.

Test link

@github-actions github-actions bot added the bug label May 16, 2025
@pakb pakb requested a review from schtibe May 16, 2025 08:35
@cypress
Copy link

cypress bot commented May 16, 2025

web-mapviewer    Run #5325

Run Properties:  status check passed Passed #5325  •  git commit 0f93527815: PB-1697: limiting floating window's height
Project web-mapviewer
Branch Review fix-PB-1697-simple-window-too-big-when-broser-zoom
Run status status check passed Passed #5325
Run duration 05m 13s
Commit git commit 0f93527815: PB-1697: limiting floating window's height
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 251
View all changes introduced in this branch ↗︎

Base automatically changed from fix-PB-1698-scroll-issue-with-new-collapse-component to develop May 16, 2025 08:58
Copy link
Contributor

@schtibe schtibe left a comment

Choose a reason for hiding this comment

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

👍

@pakb pakb force-pushed the fix-PB-1697-simple-window-too-big-when-broser-zoom branch 2 times, most recently from 12b65bd to ca66776 Compare May 16, 2025 09:18
Some users that use the browser zoom to enlarge the UI have issues with the SimpleWindow component (especially when it's used by the feedback component) because it grows too heigh, and overflow the header (some even saying the X button of the window was out of screen).

So to fix that, I've limited the height of all simple windows to 2/3 of the height of the screen. This was tested with a browser zoom of 200% and having the "report a problem" window opened.
@pakb pakb force-pushed the fix-PB-1697-simple-window-too-big-when-broser-zoom branch from ca66776 to 0f93527 Compare May 16, 2025 09:28
@pakb pakb merged commit 16104e1 into develop May 16, 2025
6 checks passed
@pakb pakb deleted the fix-PB-1697-simple-window-too-big-when-broser-zoom branch May 16, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants