flutter_animarker icon indicating copy to clipboard operation
flutter_animarker copied to clipboard

onTap() method called multiple times

Open spatel2212 opened this issue 3 years ago • 5 comments

On click of a marker, the details page opens multiple times. This behaviour is very odd as on first click, it only navigates once thereon after every click, the navigation of details page increases by 2. For example, on 1st click - 1 time navigation, on 2nd - 3 times, on 3rd - 5 times, on 4th - 7 times, and so on.

Note:- Without using Animarker widget, the onTap behaviour of a Marker works fine.

spatel2212 avatar May 27 '21 11:05 spatel2212

Yes Same problem I am also getting with this plugin the onTap method getting calls multiple times. Like on first iteration everything is fine.. but onward second iteration of tapping it is going to call onTap method 3x and 4x times.

rajputvarun591 avatar May 28 '21 14:05 rajputvarun591

Same problem here, 3x or 4x. Hope you can solve it soon :)

marcusvpais avatar Jun 08 '21 17:06 marcusvpais

having the the issue

ozz-rjq avatar Jul 02 '21 09:07 ozz-rjq

Issue still persists even after beta. Sometimes fires even more than 8 events.

marcusvpais avatar Jul 10 '21 23:07 marcusvpais

Anyone solved this? Issue still persists. Thanks @gauris26

marcusvpais avatar Aug 22 '21 13:08 marcusvpais