Scroll bar obstructs the Bing map when the traffic view is selected
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(firefox64 affected, firefox65 affected, firefox66 affected)
People
(Reporter: dcicas, Unassigned)
Details
(Keywords: webcompat:site-wait, Whiteboard: [sitewait])
Attachments
(1 file)
3.37 MB,
image/png
|
Details |
[Affected versions]:
- Firefox Latest Nightly 66.0a1
- Firefox Beta 65.0b9
- Firefox Release 64.0
[Affected platforms]:
- Win 7 x64
- Win 10 x64
[Steps to reproduce]:
- Reach https://www.bing.com/maps.
- Click on the traffic button.
- Select the aerial mode.
[Expected result]:
- No element obstructs the map.
[Actual result]:
- There is a scroll bar in the middle of the screen.
[Regression range]:
- Will investigate as soon as possible.
Comment 1•5 years ago
•
|
||
This is basically a site bug.
They explicitly ask for this scrollbar -- they style the element in question with:
.noScroll {
overflow-y: scroll;
}
And then in Chrome and Edge, they hide the scrollbar by setting a negative "margin-right". It looks like this:
<div class="panelWrapper multi left noScroll" style="margin-right: -17px;">
This ends up clipping the scrollbar, because this element's parent has overflow:hidden
, so it hides the negative-margin-area on its child (which is the child's scrollbar area).
But in Firefox, they give this element "margin-right: 0px". On Linux, that's fine because scroll tracks are transparent (and maybe they're trying to use 0px for that "we figured out that scroll tracks are transparent" scenario?) But on Windows, scroll tracks are not transparent, so they need to give us a similar margin-right bump that they're giving to Chrome in order to hide the scrollbar.
Comment 2•5 years ago
|
||
I can also reproduce the issue on Chrome dev73.0.3642.0 Windows10 sometimes.
Comment 3•5 years ago
|
||
Adam, can we reach out to microsoft on this one please?
Comment 4•5 years ago
|
||
Reaching out to Microsoft via partner mailing list.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
They passed this report along to the right team internally.
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
See bug 1547409. Moving webcompat whiteboard tags to keywords.
Comment 7•2 years ago
|
||
The traffic pane has since been redesigned. It is now full-height and shows no scrollbar.
Description
•