1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-01-26 01:41:35 +03:00
Files
lazygit/pkg/gui
Stefan Haller efd4298b5e Avoid scrolling the selection into view on refresh
It is possible to scroll the selection out of view using the mouse wheel; after
doing this, it would sometimes scroll into view by itself again, for example
when a background fetch occurred. In the files panel this would even happen
every 10s with every regular files refresh.

Fix this by adding a scrollIntoView parameter to HandleFocus, which is false by
default, and is only set to true from controllers that change the selection.
2025-12-23 15:34:38 +01:00
..
2025-11-15 10:46:23 +01:00
2025-10-09 08:45:58 +02:00
2025-07-08 15:14:45 +02:00
2025-05-06 09:43:26 +02:00
2025-06-05 13:20:38 +02:00
2025-09-05 10:42:03 +02:00