- From: Jose Gabriel Companioni Benitez via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Jan 2022 22:06:35 +0000
- To: public-geolocation@w3.org
elC0mpa has just created a new issue for https://github.com/w3c/geolocation-api: == Problem when granted temporal acces to geolocation in Firefox == Hello, I am having some issues when working with geolocation in FireFox, First of all I whill show how this works in Chrome and after that I will show the problem in FireFox. ![image](https://user-images.githubusercontent.com/53531665/151065607-afebc5a7-ff42-4910-8da2-1f9885bc4a23.png) After location is allowed in this website the button is enabled as shown in the next image. ![image](https://user-images.githubusercontent.com/53531665/151065760-9b26e6d1-1abf-47d9-b829-c63e90b61386.png) This is who it should works. Now I will show you the problem. Next image shows initial state in firefox. ![image](https://user-images.githubusercontent.com/53531665/151066544-51e981e3-324a-4b32-9262-e91bcb361951.png) As shown in the next image, the problem is that when location is allowed temporarily, the API doesn´t detect that user allowed it and as a consequence, the button remains inactive. ![image](https://user-images.githubusercontent.com/53531665/151066956-c8b7475f-cca0-48df-8121-c5209bcfe887.png) I will show you the code I am using even though there is nothing special on it. ![image](https://user-images.githubusercontent.com/53531665/151067510-196b1df6-8a8a-4d5f-9d6d-c94ac63f9bb9.png) Basically the point is that when you give location temporarily permissions, the onChange is never executed Thanks in advance, I hope I could solve this problem. Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/117 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 25 January 2022 22:06:37 UTC