-
Notifications
You must be signed in to change notification settings - Fork 25
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
Marker onTap event is not fired since 6.2.20 #102
Comments
@mohammadrafigh seems your change broke other things. Can you look at it? |
I experienced the same thing as well. |
@farfromrefug Well, It seems we need to check if there is an onTap listener available then we should bypass default listener. But if there is no onTap listener, then we can allow custom tap listeners. This way there is no possibility to have both. I will take a look to see if we can have both behaviors at the same time. So for now the solution for who uses onTap listener is to use 6.2.19. I will send a PR soon, hope this time it fixes everything and gets merged :)). |
@mohammadrafigh it is still broken in 6.2.27 |
@foxgreek yes this repo is looking for maintainers. I personally. dont use mapbox anymore. |
Hi Guys, I'm not able to reproduce your problem, It's working here. Can you provide a demo project so I can take a look? |
It is not working on iOS |
It's working on my projects. I'm not able to fix it unless someone provides a demo project that reproduces the problem. Otherwise I consider that it works and something might be wrong with your usage. |
Hey thanks, here is demo |
Good I will check this out after the weekend. Thank you
…On Fri, Sep 6, 2024, 3:57 PM Kakha ***@***.***> wrote:
It's working on my projects. I'm not able to fix it unless someone
provides a demo project that reproduces the problem. Otherwise I consider
that it works and something might be wrong with your usage.
Hey thanks, here is demo
mapbox-marker-demo <https://github.com/kakha13/mapbox-marker-demo>
—
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTM4ZAF52THJFH5X3Z7V6TZVGNSNAVCNFSM6AAAAABKZCV2XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTHE2DGOBUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I compared the current version with 6.2.19 and found this difference. if (recognizer instanceof UITapGestureRecognizer) {
recognizer.addTargetAction(theMap['mapTapHandler'], 'tap');
break;
} Change: if (recognizer instanceof UITapGestureRecognizer) {
tapGestureRecognizer.requireGestureRecognizerToFail(recognizer);
} Tap on marker working now. |
Fix iOS marker Tap function issue:#102
After updating to 6.2.20, the onTap event of markers on the map is not fired anymore. Going down to 6.2.19 solved the problem.
The text was updated successfully, but these errors were encountered: