mapbox / mapbox/mapbox-maps-flutter

Android taps not registering first tap

Open
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Need a little help on this one. On Android devices only, the onTapListener is giving me some troubles. For some reason, it doesn't register or take any actions on the first tap. However, on the second tap it will do the actions that were supposed to take place on the first tap. What this results in is that if I tap on two map annotations, the second tap will select the first tap's annotation and fly to the wrong place on the map. Has anyone else experienced this? This happens both on a device and on the emulator for me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through the onTapListener on an Android device or emulator, tapping two map annotations in sequence. Trace the listener path and compare the first and second tap results. Done means the first tap selects its own annotation and flies to the correct location.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.