This a simple recreation of my problem…
As you can see , the button click on “doSomething” button also trigger the click event on ion-item…
How can i solve this ?
This a simple recreation of my problem…
As you can see , the button click on “doSomething” button also trigger the click event on ion-item…
How can i solve this ?
Hi Rikka, I think best solution will be to use double click on list and click event on button.
here is code pen example http://codepen.io/anon/pen/gpzdGw
Use $event.stopPropagation():
<button ng-click="doSomething(); $event.stopPropagation();">do Something</button>
gmarzious , thanks for the solution , its work like charm
Super solution (Y)
Great! Thanks for the soluction!