Popover in ion-list with href atribute


#1

How we implement openPopover if we already used href inside <ion-list>?

<ion-list>
  <ion-item ng-repeat="customer in customers | filter:filters" class="item item-icon-right" on-hold="deleteCustomer({{customer.id}})" href="#/app/customers/{{customer.id}}">
     <h2>{{customer.name}}</h2>
      <p>{{customer.phone}}</p>
    <i ng-click="openPopover($event)" class="icon ion-android-more-vertical"></i>
  </ion-item>
</ion-list>

#2
ng-click="openPopover($event); $event.stopPropagation();"

#3

sory @gmarziou but it still doesn’t work, i just wanna open popover without change the state (detail customer).


#4

Then don’t use an href on ion-tem, replace it by ng-click calling a $scope method which call $state.go()


#5

thank you @gmarziou it works now :+1: