Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The language dropdown menu does not work on iOS Safari #43

Closed
quinncnl opened this issue May 19, 2023 · 5 comments
Closed

The language dropdown menu does not work on iOS Safari #43

quinncnl opened this issue May 19, 2023 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@quinncnl
Copy link

quinncnl commented May 19, 2023

The top right language dropdown seems to be triggered only by mouseover. On touchscreen device it should accept tap/click.

@kaiiiz
Copy link
Owner

kaiiiz commented Jul 23, 2023

I've tested this but can not reproduce your situation. The dropdown menu appears when I click the multilingual button.

Can you provide the following information to help me address the issue?

  1. Your device information (e.g., iOS, Android)
  2. Browser and its version
  3. Web page URL

Thanks

@quinncnl
Copy link
Author

Hi @kaiiiz ,

I’m on Safari iOS on an iPhone. The issue can be reproduced at https://kaiiiz.github.io/hugo-theme-monochrome/

@kaiiiz
Copy link
Owner

kaiiiz commented Jul 23, 2023

I found several posts in stack overflow that mentioned this issue.

These posts mentioned an onclick="void(0)" or the cursor: pointer tricks that make Safari recognize the hover event. The strangest thing is that, currently, the elements with hover event are all have the cursor: pointer CSS, which means that the trick has already implemented in this theme...

Since I have no iOS device, it's hard for me to find the root cause of the bug. Any assistance from someone experienced in iOS Safari would be greatly appreciated.

@kaiiiz kaiiiz added bug Something isn't working help wanted Extra attention is needed and removed need-more-information labels Jul 23, 2023
@kaiiiz kaiiiz changed the title On mobile/tablet the language dropdown menu does not work The language dropdown menu does not work on iOS Safari Jul 23, 2023
@kaiiiz
Copy link
Owner

kaiiiz commented May 25, 2024

I've added a fix in v3.0.0. Can you help confirm whether it works? Thanks!

@quinncnl
Copy link
Author

quinncnl commented Jun 3, 2024

Hi @kaiiiz I can confirm it works perfectly on iOS now. Thanks!

@quinncnl quinncnl closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants