This commit refines the autofocus logic to prevent unwanted jumps
when scrolling, especially after a user interaction.
The changes include:
Removing the delayed autofocus from the IntersectionObserver
callback to prevent conflicts with user interactions.
Ensuring that autofocus only moves forward in the list of entries,
preventing backward jumps.
Prioritizing user-initiated focus, so that if an entry is already
active and visible, the autofocus logic does not interfere.
This commit refines the autofocus logic to prevent unwanted jumps
when scrolling, especially after a user interaction.
The changes include:
- Removing the delayed autofocus from the IntersectionObserver
callback to prevent conflicts with user interactions.
- Ensuring that autofocus only moves forward in the list of entries,
preventing backward jumps.
- Prioritizing user-initiated focus, so that if an entry is already
active and visible, the autofocus logic does not interfere.
This commit refines the autofocus logic to prevent unwanted jumps
when scrolling, especially after a user interaction.
The changes include:
- Removing the delayed autofocus from the IntersectionObserver
callback to prevent conflicts with user interactions.
- Ensuring that autofocus only moves forward in the list of entries,
preventing backward jumps.
- Prioritizing user-initiated focus, so that if an entry is already
active and visible, the autofocus logic does not interfere.
eleith
merged commit 6485d40279 into main2025-08-19 04:54:24 +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.
This commit refines the autofocus logic to prevent unwanted jumps
when scrolling, especially after a user interaction.
The changes include:
callback to prevent conflicts with user interactions.
preventing backward jumps.
active and visible, the autofocus logic does not interfere.