The popup in this page don't work in Palemoon, but work in all other browsers I try:
https://viglino.github.io/ol-ext/exampl ... popup.html
Can someone help me to find the cause? There isn't any error in error console...
Thank you!
Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
Moderator: trava90
Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
damjang
- Fanatic

- Posts: 113
- Joined: 2012-01-14, 11:22
-
coffeebreak
- Moon Magic practitioner

- Posts: 2985
- Joined: 2015-09-26, 04:51
- Location: U.S.
Re: Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
Confirmed here with PM 28.11 and Unstable-2020.07.26, default and new profiles (Win7 x86).
Clicking on the small, blue tiles on the map has no effect.
As reported, nothing in Error Console.
In Firefox 68, clicking on any tile produces an informational popup like this: Edit:
This site uses v.2 of the polyfill.io script, which always causes problems.
However, neither blocking that script, nor adding a user agent override for polyfill.io made any difference at all (which normally, either one removes the problem), so either that's not the cause, or perhaps something has changed with how polyfill.io behaves.
Clicking on the small, blue tiles on the map has no effect.
As reported, nothing in Error Console.
In Firefox 68, clicking on any tile produces an informational popup like this:
This site uses v.2 of the polyfill.io script, which always causes problems.
However, neither blocking that script, nor adding a user agent override for polyfill.io made any difference at all (which normally, either one removes the problem), so either that's not the cause, or perhaps something has changed with how polyfill.io behaves.
You do not have the required permissions to view the files attached to this post.
-
Gaming4JC
- Hobby Astronomer

- Posts: 22
- Joined: 2018-09-08, 17:10
Re: Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
For what it's worth you can force a polyfill by appending &flags=always to the CDN url. It appears that it is not properly detecting the PM UA However, the problem here goes deeper than that from what I can tell.
It doesn't work in Webkit or pre-Servo Firefox either, so I filed a bug. (The library claims to even support old IE, so here's hoping.)
https://github.com/Viglino/ol-ext/issues/485
It doesn't work in Webkit or pre-Servo Firefox either, so I filed a bug. (The library claims to even support old IE, so here's hoping.)
https://github.com/Viglino/ol-ext/issues/485
-
damjang
- Fanatic

- Posts: 113
- Joined: 2012-01-14, 11:22
Re: Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
Thank you. Viglino already answers to the ticket: this is a openlayers v6.4.0 "problem":
Thank you
I try with both elm-pep and pepjs and work ok with both.Pointer events polyfill removed
Now that all major browsers support Pointer events natively, we removed the elm-pep dependency. If you are targeting older browsers that do not support Pointer events, you now need to include a pointer events polyfill (elm-pep or pepjs) in your application.
Thank you
-
Gaming4JC
- Hobby Astronomer

- Posts: 22
- Joined: 2018-09-08, 17:10
Re: Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
I'm not sure the degree of implementation in-tree, but we do have preliminary Pointer events functionality that works, it's just pref'd off.
Try it out: about:config ->
It works on the test page here.
Try it out: about:config ->
Code: Select all
dom.w3c_pointer_events.enabled;true-
coffeebreak
- Moon Magic practitioner

- Posts: 2985
- Joined: 2015-09-26, 04:51
- Location: U.S.
-
damjang
- Fanatic

- Posts: 113
- Joined: 2012-01-14, 11:22
Re: Popup don't work on some openlayers.org site ( https://viglino.github.io/ol-ext/examples/popup/map.popup.html )
Yes, thank you. Work also for me. Good to know. But why is not enabled by default?