ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Content touch when dragging downward should not snap up

Open ncammarata opened this issue 12 years ago • 6 comments

I'm using Ionic's custom scroll with a content directive. When I drag it downwards, and it is gradually sliding back up, if I touch the content, it snaps up to the top. This doesn't happen on any native apps(on iOS) that I can find, and feels very strange.

edit: Same when I drag upwards and it is sliding down.

ncammarata avatar Dec 05 '13 23:12 ncammarata

Hi @ncammarata, Could you explain more or provide screenshots. I really don't get what it in "When I drag it downwards".

Thanks

JonathanHindi avatar Dec 12 '13 20:12 JonathanHindi

Possibly related to #204

I notice what you mean. I need to play with some apps and see how it feels and adjust this.

@JonathanHindi, I think he means when you reach the end of the drag, if you grab the content while still rubber banding, the scoll view snaps back to the top which it doesn't do on native iOS.

mlynch avatar Dec 12 '13 20:12 mlynch

I'm almost certain this and #204 are related, since it doesn't happen always, just occasionally. Luckily this helps me reproduce #204 so I can maybe fix it finally :)

mlynch avatar Dec 12 '13 20:12 mlynch

@mlynch correct. It's a bit hard to take a screenshot of it, would need to be a well angled video or something.

ncammarata avatar Dec 12 '13 20:12 ncammarata

I fixed it. Man was that a doozy though, and to think it was really just one offending line! That's coding for you :)

mlynch avatar Dec 13 '13 00:12 mlynch

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 02:09 ionitron-bot[bot]