Skip to content

PB-1202 : Fix overflow issue in 3D feature tooltip view on Chrome#1301

Merged
sami-nouidri-swisstopo merged 2 commits intodevelopfrom
bug-PB-1202-double-overflow-3d-tooltip
Apr 17, 2025
Merged

PB-1202 : Fix overflow issue in 3D feature tooltip view on Chrome#1301
sami-nouidri-swisstopo merged 2 commits intodevelopfrom
bug-PB-1202-double-overflow-3d-tooltip

Conversation

@sami-nouidri-swisstopo
Copy link
Contributor

@sami-nouidri-swisstopo sami-nouidri-swisstopo commented Apr 16, 2025

Issue : An overflow was causing two scroll bars to appear on Chromium browsers when using the 3D view.

Fix : removed the fluid css condition, and added logic to switch max height depending on aspect ratio of viewport.

Test link

@github-actions github-actions bot added the bug label Apr 16, 2025
@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1202-double-overflow-3d-tooltip branch from 42e3c81 to 7d8adde Compare April 16, 2025 09:58
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

there's some overflow now in 2D, see here
image

but not in 3D
image

@cypress
Copy link

cypress bot commented Apr 16, 2025

web-mapviewer    Run #5069

Run Properties:  status check passed Passed #5069  •  git commit a85b4c1fda: Merge pull request #1301 from geoadmin/bug-PB-1202-double-overflow-3d-tooltip
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #5069
Run duration 01m 23s
Commit git commit a85b4c1fda: Merge pull request #1301 from geoadmin/bug-PB-1202-double-overflow-3d-tooltip
Committer Sami Nouidri
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 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1202-double-overflow-3d-tooltip branch from 7d8adde to cd2dca9 Compare April 16, 2025 10:16
@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1202-double-overflow-3d-tooltip branch 6 times, most recently from 7cb55d6 to 581fbbd Compare April 16, 2025 14:58
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

Can you also remove the use of the now deleted fluid prop in OpenLayersHighlightedFeatures.vue?

@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1202-double-overflow-3d-tooltip branch 2 times, most recently from aa5c340 to aa89bcb Compare April 17, 2025 08:23
Sami Nouidri added 2 commits April 17, 2025 10:23
Issue : An overflow was causing two scroll bars to appear on Chromium browsers
when using the 3D view.

Fix : removed the fluid css condition and set a consistent max-height of 100%
@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1202-double-overflow-3d-tooltip branch from aa89bcb to 608ef3e Compare April 17, 2025 08:24
@sami-nouidri-swisstopo sami-nouidri-swisstopo merged commit a85b4c1 into develop Apr 17, 2025
6 checks passed
@sami-nouidri-swisstopo sami-nouidri-swisstopo deleted the bug-PB-1202-double-overflow-3d-tooltip branch April 17, 2025 08:41
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