bozdoz / wp-plugin-leaflet-map

Add leaflet maps to Wordpress with shortcodes
https://wordpress.org/plugins/leaflet-map/
GNU General Public License v2.0
140 stars 71 forks source link

Clicking on pointer has no effect in safari browser #156

Closed 1u closed 1 year ago

1u commented 2 years ago

Hi! For your information: I got reported that the modal doesn't open when clicking on a pointer on the map when using safari (v.15.3) I can't test it myself. No safari here atm.

https://zuerich-lernt.ch/schenken/

This dialogue doesn't appear: image

Thx a lot for the nice plugin!

juuso-turunen commented 2 years ago

Hello!

This could be related to this issue: https://github.com/Leaflet/Leaflet/issues/7255.

It's an issue in Leaflet.js JS library used by this plugin. This issue should be fixed in Leaflet.js version 1.8.0. It's now in beta.

You can try it out by changing these settings in the plugin settings.

image JavaScript URL: https://unpkg.com/leaflet@1.8.0-beta.1/dist/leaflet.js

image CSS URL: https://unpkg.com/leaflet@1.8.0-beta.1/dist/leaflet.css

Hopefully this helps! :)

1u commented 2 years ago

Hey, Yes probably that's it. Thx a lot for the hint! And the solution proposal. Now I need an apple to test it :)

juuso-turunen commented 2 years ago

You're welcome :)

I don't have any Apple devices either so I can't test it for you. But I hope you find an Apple and solution! 🍎

1u commented 2 years ago

:ok_hand: A friend could test it and it works now. thx again.

Btw: Feel free to use screenshots of the linked web page to describe/promote this nice wp plugin.

juuso-turunen commented 2 years ago

Great to hear that! When the stable version of 1.8.0 come out I recommend that you change to it. Betas have always its own risks :)

P.S. I'm not this plugin developer. I'm just a happy Leaflet user who uses this plugin and loves it!