question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

marker.bindPopup() - version 1.7.1 only; on Mac Safari only - click event isn't recognized properly

See original GitHub issue

An event added via marker.bindpopup() - version 1.7.1 only using a Mac Safari (version 14 and 13) browser only - will only be recognized if one makes a long mouse-click of about 1s like a long tap event. If one adds such an event via marker.on('click', function(e) {this.openPopup();}); it works properly.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
johnd0ecommented, Dec 10, 2020

What is the best workaround you can suggest?

Are you using contextmenu event to capture taphold? If you aren’t then just specify map option tap: false.

Otherwise try unreleased version from master.

3reactions
johnd0ecommented, Dec 11, 2020

Read again: tap is Map option. Not TileLayer’s.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Popup does not open when clicking on marker safari
This is a bug of Leaflet 1.7.1, see Leaflet #7255. In the newest master version of leaflet it is working, see Issue Comment....
Read more >
Map marker popup does not work in Mac Safari - Drupal
Expected behaviour: a map marker can be clicked/tapped. This opens a popup with title and link to the Drupal node.
Read more >
Documentation - a JavaScript library for interactive maps
Iterates over the layers of the map, optionally specifying context of the iterator function. map.eachLayer(function(layer){ layer.bindPopup('Hello'); });.
Read more >
HTML Standard
1.7.1 Serializability of script execution; 1.7.2 Compliance with other specifications; 1.7.3 Extensibility. 1.8 HTML vs XML syntax; 1.9 Structure of this ...
Read more >
ThemeNectar | Changelogs - Salient
Fixed preview functionality to generate dynamic element CSS correctly on Portfolio post type · Fixed "Carousel" page builder > "Flickity" type ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found