Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrolling to an element programmatically "sticks" scrollbars #572

Closed
RangerRick opened this issue Feb 10, 2014 · 3 comments
Closed

scrolling to an element programmatically "sticks" scrollbars #572

RangerRick opened this issue Feb 10, 2014 · 3 comments

Comments

@RangerRick
Copy link

see http://forum.ionicframework.com/t/scrolltoelement-blocks-scrolling-to-the-top/969

If you use element.scrollToElement() or AngularJS $anchorScroll (or Ionic's new anchorScroll support in post-0.9.23 master) it's impossible to manually scroll to the top of the list again.

See http://embed.plnkr.co/shyXuk/preview for an example.

@CoenWarmer
Copy link

Duplicate of #508.

@ajoslin has made progress on this front, but at least in my case I'm seeing some issues.

@ajoslin
Copy link
Contributor

ajoslin commented Feb 10, 2014

Your plunkr bugs on nightly because querySelector doesn't allow us to search for numbered ids - eg scrollContainer.querySelector('#500'). I will just make it use getElementById - I didn't use that before because we don't know how getElementById works in different browsers if there are multiple items with the given id. But oh well.

Moving discussion to #508.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

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 ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants