Open ghost opened 3 years ago
Currently there is minimal support for horizontally scrolling preformatted blocks, using the mouse wheel or Mac trackpad. I agree completely that a scrollbar should be there, too.
Scrolling horizontally with the mouse wheel does not work for me. I'm using Lagrange 1.17.0 on Debian 12 with the Sway window manager (Wayland).
@nervuri We would need to figure out if your mouse wheel's horizontal direction causes any SDL events to be triggered. I could add a new input event logging option that prints out the SDL events that are received.
@nervuri We would need to figure out if your mouse wheel's horizontal direction causes any SDL events to be triggered. I could add a new input event logging option that prints out the SDL events that are received.
Wait, you need a fancy mouse with horizontal scrolling for this? I thought this was supposed to work by placing the mouse pointer over a preformatted block and moving the regular mouse wheel up and down. This scrolls the page (so it does trigger events), just not the preformatted block.
From v1.17.1 release notes:
Mouse wheel scrolls a wide preformatted block when hovering over the block, instead of scrolling vertically. You can hold the Shift key to swap the scroll direction.
Thanks!
preformatted text blocks (aka ```) can span longer than page's width, and therefore become unable to be seen or selected (for example gemini://gemini.ctrl-c.club/~pine/)
would be nice if something could be done about that