Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Location button not working #952

Closed
benju69 opened this issue Dec 10, 2019 · 2 comments
Closed

Location button not working #952

benju69 opened this issue Dec 10, 2019 · 2 comments

Comments

@benju69
Copy link

benju69 commented Dec 10, 2019

Do you want to request a feature or report a bug?

bug

What is the current behavior?

location button isn't working in the demo https://community.algolia.com/places/

If the current behavior is a bug, please provide all the steps to reproduce and a minimal
JSFiddle example or a repository on GitHub that we can npm install
and npm start.

What is the expected behavior?

Should display places suggestions ?

@JonathanMontane
Copy link
Contributor

@benju69 Thanks for the feedback.

This behaviour is actually expected, as the pin icon is actually just a button to ask for precise geolocation permissions, rather than a reverse geocoding button.

This can be a bit confusing though, so we'll see what we can do to improve it.

@jmartsch
Copy link

The button should trigger an event like geolocationChanged which you can capture and do some things after the geolocation has been requested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants