skyjake/lagrange Issue #149: Add horizontal scrollbar for preformatted blocks
2021-02-08 21:55:50 ghost
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
Comments (5)
2021-02-09 06:51:06 skyjake
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.
2023-10-18 22:57:30 nervuri
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).
2023-10-19 11:58:51 skyjake
@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.
2023-10-19 22:06:03 nervuri
@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.
2023-10-22 11:13:25 nervuri
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!