Ion-option-button not working on windows 10 touchscreen. Mouse works


#1

Hi,
I have a simple list with ion-option-button inside the list. When I use the mouse to swipe left it works. However when I use the touch screen it doesn’t work. This happens in both windows 10 and windows phone 10 on ionic 1.2.1.

Sample code:…

<ion-item ng-repeat="task in tasks"
            ng-class="{completed: task.completed}"
            ng-click="task.completed = !task.completed"
            class="item-icon-right">
      <i class="icon ion-ios-arrow-left"></i>
      <ion-option-button class="button-assertive" ng-click="tasks.splice($index, 1)">
          Delete
      </ion-option-button>

      <ion-option-button class="button-energized"
                         ng-click="edit(task)">
          Edit
      </ion-option-button>
      {{task.title}}
  </ion-item>

Thanks


#2

Hi, did you find a solution? I am facing the same problem


#3

I found the cause of the problem. Check out the issue I opened. You’ll have to edit a function in ionic.bundle.js called “getCenter”


#4

Edited function, no effect for me :frowning: