Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searchinput not focused after tapping it #92

Closed
kelvan opened this issue Jun 12, 2021 · 3 comments
Closed

Searchinput not focused after tapping it #92

kelvan opened this issue Jun 12, 2021 · 3 comments

Comments

@kelvan
Copy link

kelvan commented Jun 12, 2021

Steps to reproduce

  • Tap the search box
  • Type something

Expected behaviour

Typed characters inserted into searchbox

Current behaviour

Keyboard opens, but it is necessary to tap the search input again to insert a search

@johan12345
Copy link
Collaborator

Is this happening the Google Play or the F-Droid version of the app? They use different SDKs for the search field (Google Places / Mapbox).

@kelvan
Copy link
Author

kelvan commented Jul 1, 2021

Hi, sorry for the late response.
I used the fdroid version, I now installed it from play store and it works there.

@johan12345
Copy link
Collaborator

Yeah, the Mapbox version of PlacesAutocomplete does not request the focus. There is an open issue for this since 2 years: mapbox/mapbox-plugins-android#1011 and a PR that included a fix for this as well as other changes (mapbox/mapbox-plugins-android#968) has been closed as stale.

I have now opened a new PR that only fixes this issue: mapbox/mapbox-plugins-android#1191

And for now, I'll include my fork of the library using JitPack so that the fix is already included.

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

No branches or pull requests

2 participants