Skip to content

fix(menu): prevent mobile dropdown click from auto-focusing search#951

Open
imfing wants to merge 1 commit intomainfrom
fix-mobile-dropdown-focus-jump
Open

fix(menu): prevent mobile dropdown click from auto-focusing search#951
imfing wants to merge 1 commit intomainfrom
fix-mobile-dropdown-focus-jump

Conversation

@imfing
Copy link
Owner

@imfing imfing commented Feb 27, 2026

Summary

  • allow the mobile menu toggle to skip moving focus when the action comes from touch/click events to avoid immediately opening the soft keyboard
  • adjust Hugo stats to match the new build output
  • add a Playwright regression test to ensure the sidebar search input stays unfocused after opening the hamburger menu

Testing

  • Not run (not requested)
@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit bb7e0ae
🔍 Latest deploy log https://app.netlify.com/projects/hugo-hextra/deploys/69a207605e9de70008d7d5fd
😎 Deploy Preview https://deploy-preview-951--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@imfing imfing changed the title Fix mobile menu focus jump on open Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant