Skip to content

Prevent gallery clicks from scrolling preview to top#3780

Open
apples-kksk wants to merge 1 commit intoBoostIO:masterfrom
apples-kksk:fix/issue-3021-gallery-scroll
Open

Prevent gallery clicks from scrolling preview to top#3780
apples-kksk wants to merge 1 commit intoBoostIO:masterfrom
apples-kksk:fix/issue-3021-gallery-scroll

Conversation

@apples-kksk
Copy link
Copy Markdown

Fixes #3021.\n\n## Summary\n- Add a click handler for rendered gallery blocks.\n- Preserve carousel click handling while preventing default hash-link navigation.\n- Stop gallery arrow/thumbnail clicks from moving the preview document back to the top.\n\n## Validation\n- Ran: git diff --check.\n- Not run: project ESLint/tests because dependencies are not installed in this checkout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jumps to top of page when clicking on an image or on next arrow in image gallery

1 participant