Skip to content

Expand language selector click area#161

Merged
em3s merged 1 commit intomainfrom
fix/language-selector-click-area
Feb 3, 2026
Merged

Expand language selector click area#161
em3s merged 1 commit intomainfrom
fix/language-selector-click-area

Conversation

@em3s
Copy link
Copy Markdown
Contributor

@em3s em3s commented Feb 3, 2026

Summary

Fix for #154 - clicking near the EN/KO text was triggering the mobile table of contents dropdown instead of navigating to the selected language.

Changes

  • Add event.stopPropagation() to prevent clicks from bubbling to the parent dropdown
  • Increase padding on the nav container and links to expand the clickable area

How to Test

  1. cd website && npm run dev
  2. Open on mobile (or narrow browser window)
  3. Click near but not exactly on EN/KO text - should now correctly navigate instead of opening TOC dropdown

Prevent clicks near the EN/KO text from triggering the mobile table of
contents dropdown by stopping event propagation and increasing the
clickable padding on the language selector.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Feb 3, 2026
@em3s em3s merged commit 0afffd8 into main Feb 3, 2026
11 checks passed
@em3s em3s self-assigned this Feb 6, 2026
@em3s em3s changed the title fix(website): expand language selector click area Expand language selector click area Feb 12, 2026
@em3s em3s deleted the fix/language-selector-click-area branch March 1, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant