Ionic tabs - how to disable ios 3d touch peek and pop


#1

When I force(3d) press on tabs in ios, ios treats it as a link and shows preview. How do I disable this?

-force press->

I also opened an issue in ionic - https://github.com/ionic-team/ionic/issues/11896


#2

No idea, but maybe by stopping the propagation of the event in the (press) action?

  $event.preventDefault();
  $event.stopPropagation();

P.S.: Of topics, I’ve to say, I like the design of your first screenshot, looks neat, well done


#3

Here is the JS API Apple offers:
https://developer.apple.com/library/content/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html