Disable content bouncing scroll

前端 未结 10 1917
我寻月下人不归
我寻月下人不归 2021-02-09 06:25

In my hybrid app there\'s a possibility to drag the screen to refresh the list. In Android this works fine, but on iOS when I\'m dragging

10条回答
  •  无人共我
    2021-02-09 07:02

    I'm upgrading from Ionic 3 to Ionic 5 and found this post. But then just found the solution in documentation.
    I'm using Ionic 5 (not sure if Ionic 4 works too). Just add slot="fixed" to element inside ion-conent:

    
        

    Main Content

    Fixed Content

    It works perfect in iOS.
    Source: https://ionicframework.com/docs/api/content

提交回复
热议问题