vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Scroll bar overlay doesn't appear when scrolling with Chrome #overlay-scrollbars flag

Open eggbean opened this issue 1 year ago • 2 comments

Describe the bug

I have been using the #overlay-scrollbars Chrome flag for many years. It makes the browser window viewport size consistent as the side scrollbar is overlayed instead of taking width away when the webpage is longer than the viewport (making the scrollbar appear). It's just a lot nicer and I believe that this is one of the most popularly used Chrome flags.

A few Chrome versions ago this flag disappeared, but could be re-enabled using some special flag that re-enabled disabled flags. Then, more recently the flag reappeared, but it was new code.

Now enabling the #overlay-scrollbars flag works fine when using the mouse to scroll, but not when using keys that are captured by a Chrome extension, like Vimium.

My guess is that Vimium is not using some new API to scroll when #overlay-scrollbars is enabled and that it would work properly if it did use it.

To Reproduce

Steps to reproduce the behavior:

  1. Go to URL 'chrome://flags'.
  2. Search for #overlay-scrollbars and enable it.
  3. Restart browser
  4. Observe that the scroll overlay doesn't appear when scrolling using vimium keys, but does when using the mouse or arrow keys (unless an extension using capturing those).

Browser and Vimium version

Chrome 119 Vimium 2.0.5

eggbean avatar Dec 06 '23 02:12 eggbean

I'm also facing simillar behavior with that flag enabled. have you found any workaround for this?

devrajneupane avatar Feb 05 '24 13:02 devrajneupane

No, I think it's something that needs to be fixed in Viumium.

eggbean avatar Feb 06 '24 23:02 eggbean