PDF won't scroll using BT Mouse in Android

Description of the issue: PDF won’t scroll using BT Mouse in Android

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  1. https://manuals.harborfreight.com/manuals/57000-57999/57342-193175517241.pdf
  2. Use your BT mousewheel to scroll

Actual Result (gifs and screenshots are welcome!):

Expected result: A PDF that scrolls top to bottom

Reproduces how often: Chronically

Operating System and Brave Version(See the About Brave page in the main menu): Brave 1.87.190, Chromium 145.0.7632.109

Additional Information: I tried to resolve it using prior problems. It was suggested that I use brave:\\flags to activate Overlay Scrollbars but it doesnt exist

This is a limitation of the Chromium engine and the issue is present across all Chromium-based browsers on Android [that I tested]. I believe this is to do with the fact that when PDFs are viewed in-browser, they’re using Chromium’s built-in PDF viewer component.

“Normal” website use the standard Android scroll container and are listening for the mouse wheel event (looking at the dev documentation it’s the AXIS_VSCROLL event, I believe). The engine’s built-in PDF viewer however is rendered inside a canvas layer and is not “hooking” into the Android mouse wheel event system.

So the mouse wheel event is technically being received, but the embedded PDF viewer isn’t seeing/handling it the way it should.

I can go ahead and file an issue for this for our devs to look at but I suspect that this will likely have to wait for an upstream fix.

What do you mean by “normal” website? Are you saying it’s only a problem on certain websites?

Normal, standard, typical – in this context I just meant literally any actual site and not a PDF.

Turns out there’s yet another place that won’t scroll - password selection.