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

[TouchScreen only] Weird highlight glitch when touch on the other area beside the map. #394

Closed
Chheung opened this issue Feb 24, 2022 · 5 comments · Fixed by #404
Closed
Labels

Comments

@Chheung
Copy link

Chheung commented Feb 24, 2022

Describe the bug
The map seems to be have hovering effect when a touchscreen device ( can be done on chrome dev tool ) clicks on anywhere on the webpage.

To Reproduce
Steps to reproduce the behavior:

  1. Open chrome . Fiddle: https://jsfiddle.net/new68oy4/3/
  2. Toggle Device Mode
  3. Click on anywhere in the webpage ( aside from the map ) and it will show hovering effect on the last items of the map.

Expected behavior
Not show this effect glitch for touchscreen.

Screenshots
For video (loom): https://www.loom.com/share/78a2610cc50b4cd184b86f463065895a

Desktop (please complete the following information):

  • OS: macOS Monterey
  • Browser Chrome
  • Version 12.1

Smartphone (please complete the following information):

  • Device: iPhone 13 Pro Max
  • OS: iOS 15.1
  • Browser Safari
  • Version 15.1
@Chheung
Copy link
Author

Chheung commented Feb 24, 2022

A temporary workaround I found is to add another area (make sure it is the last one) which has coords: '0,0' ....

@wangshuihua
Copy link

I have the exactly same issue, but it cannot be solved by adding an extra area of coords="0,0".

@wangshuihua
Copy link

I have the exactly same issue, but it cannot be solved by adding an extra area of coords="0,0".

My temporary workaround is to add "highlight: null" option for mobile browser, then area highlight should be OK, but the last tooltip still has the same issue.

@iliaparvanov
Copy link

Any findings on this issue? Neither of the aforementioned workarounds work for me since highlight: null disables the highlighting on desktop browsers and not only on mobile browsers.

techfg added a commit that referenced this issue Mar 13, 2024
techfg added a commit that referenced this issue Mar 13, 2024
@techfg
Copy link
Collaborator

techfg commented Mar 13, 2024

@Chheung - Thank you for reporting this issue. It has been resolved in v1.6.0 which was just released.

@techfg techfg added the bug label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants