Prevent ng-click When Scrolling
When scrolling a list, items with ng-click are firing the click event. They really should not fire as this was a scroll rather than a click / tap.
Example : http://codepen.io/calendee/pen/yqefG
Reference : http://forum.ionicframework.com/t/disable-click-onscroll-list/1334
I'm seeing the issue, too. Tested on iPhone 6 with iOS 10.2.1 I am using ionic bundle version is 1.3.2. I am also using [email protected] plugin.
For a workaround, I am using the solution offered in the following issue comment: https://github.com/driftyco/ionic/issues/1438#issuecomment-55434818
But the above workaround works only for list items. Of course it can be expanded to other elements, but you must bind the event handler to every clickable element in the page. Because every clickable element receives the click event when scrolling.
I am looking for a general approach that will apply to the whole application without code repetition.
Any ideas?
can you all please help it out to find solution
The following solution may help: https://github.com/ionic-team/ionic/issues/1438#issuecomment-293602364
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.