The previous auto-focus logic was too aggressive and would shift focus away from large, open entries that were still visible on screen.
This change refines the IntersectionObserver logic to:
Only trigger auto-focus when scrolling down.
Prevent focus from changing if the currently active entry is still visible in the viewport.
Only move focus to entries that appear after the previously focused one.
The previous auto-focus logic was too aggressive and would shift focus away from large, open entries that were still visible on screen.
This change refines the `IntersectionObserver` logic to:
- Only trigger auto-focus when scrolling down.
- Prevent focus from changing if the currently active entry is still visible in the viewport.
- Only move focus to entries that appear after the previously focused one.
The previous auto-focus logic was too aggressive and would shift focus away from large, open entries that were still visible on screen.
This change refines the `IntersectionObserver` logic to:
- Only trigger auto-focus when scrolling down.
- Prevent focus from changing if the currently active entry is still visible in the viewport.
- Only move focus to entries that appear after the previously focused one.
eleith
merged commit fa4da22f63 into main2025-08-19 18:34:55 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The previous auto-focus logic was too aggressive and would shift focus away from large, open entries that were still visible on screen.
This change refines the
IntersectionObserverlogic to: