Closed Bug 1769589 Opened 3 years ago Closed 3 years ago

Overlay scrollbars break https://lab.hakim.se/breakdom/

Categories

(Core :: Widget: Gtk, defect)

Firefox 102
x86_64
Linux
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox102 --- affected

People

(Reporter: gregp, Unassigned)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

Attached image screenshot.png

Steps to reproduce:

  1. Have overlay scrollbars enabled
  2. Navigate to https://lab.hakim.se/breakdom/

Actual results: There is no scrollbar
Expected results: scrollbar

I don't think realistically this is fixable on our end, and it seems broken in other browsers with overlay scrollbars enabled. The code seems to do:

	function createPaddle() {
		var pw = width;
		
		if( navigator.appVersion.match( /Mac/gi ) ) {
			pw += 28;
		}
		else if( navigator.appVersion.match( /Win/gi ) ) {
			pw += 40;
			dom.paddle.css( 'left', -20 );
		}
		
		dom.paddle.width( pw );
		dom.paddler.width( ( 1 / paddleFactor ) * width );
	}

So it probably makes assumptions based on the scrollbar size which are just not right.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: