Skip to content

bug: $ionicScrollDelegate won't work if used with overflow-scroll = "true" in ion-content #4010

@iDeekshith

Description

@iDeekshith

Type: bug

Platform: mobile webview

             <ion-tabs>
                     <ion-tab>
                     </ion-tab>
                     <ion-tab>
                                 <ion-content class="has-header has-subheader" overflow-scroll="true" delegate-handle="myScroll" >
                                 </ion-content>
                    </ion-tab>
            </ion-tabs>

in my controller: I have added $ionicScrollDelegate as dependency and I'm using
$ionicScrollDelegate.$getByHandle('myScroll').scrollTop(); //To scroll to Top

The above scroll handler is working fine with overflow-scroll disabled.
With overflow-scroll disabled scrolling is jerky.
Please help me with this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions