damirarh / damirscorner-utterances

utteranc.es comments for https://damirscorner.com
0 stars 0 forks source link

/blog/posts/20190823-SwipebackGestureConfigurationInIonic4.html #94

Open damirarh opened 1 year ago

damirarh commented 1 year ago

Imported

URL: https://www.damirscorner.com/blog/posts/20190823-SwipebackGestureConfigurationInIonic4.html

damirarh commented 1 year ago

Imported comment written by ArnaudPirates on 2020-01-04T19:13:59

Thanks for this tips ! <3

damirarh commented 1 year ago

Imported comment written by George Nami on 2020-02-17T20:59:36

Thanks

damirarh commented 1 year ago

Imported comment written by A. Selcuk Sahin on 2021-06-10T15:42:10

Any idea on how to override functionality ?
I want my swipe back gesture to custom functionality, instead of just routing back. I can control android back button but cannot handle this one.
For Ionic 5 Angular

damirarh commented 1 year ago

Imported comment written by ali talaee on 2022-02-08T10:02:18

Hi i want to disable swiper back in home page and enable in other pages so try your service as you mentioned but it does not work and swiper back completely disable after use it. would you help me please

damirarh commented 1 year ago

Imported comment written by Damir Arh on 2022-02-13T09:36:37

It's difficult to say what's wrong without seeing your code. I created a working sample in Ionic 6. Try comparing it to your code to see what you've done differently. I intentionally disabled swipeback on home page to match your scenario although it doesn't make any difference in my case because it's the root page anyway.

You can also try writing to console from RouterOutletService methods to see whether swipeback is being enabled and disabled as expected.