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

Feature Requests: NG-Repeat + auto-resize, scroll-to, momentum touch scrolling #7

Open
davefmoore opened this issue Jun 22, 2015 · 4 comments

Comments

@davefmoore
Copy link

Jan,
I have always been a huge fan of jq Slimscroll and I appreciate you developing a angular version. Shockingly, the pure angular scroll directives seem to all be incomplete mainly for touch devices. In my case, I really only use a scroll for a chat application.. hints the feature requests.

  1. Support NG-Repeat - I tried this on NG-repeat and it doesn't update
  2. Auto-Resize - basically, if a new DOM node is added or removed, update the H/W
  3. Scroll-to - most chat applications scroll-to bottom. It would be nice to have scroll top|bottom|left|right depending on which scroll you were using... here is a good example: https://github.com/Luegg/angularjs-scroll-glue
  4. Momentum Scroll - I tested this on touch and it was pretty choppy... I am not sure if adding [overflow-y: scroll; -webkit-overflow-scrolling: touch;] would work, but here is a good example of faking this. http://ajoslin.github.io/angular-scrolly/demo/
@jkuri
Copy link
Owner

jkuri commented Jun 22, 2015

Hi,
To be honest I never tested this directive on any other touch device than on my phone (iOS) and seemed to work fine.
Yes, you are right, this directive is incomplete and it will be developed further when I will have time (weekends). Thanks for pointing out feature requests, I will keep you informed about the progress under this issue.

@davefmoore
Copy link
Author

Thanks!

From: Jan Kuri <[email protected]mailto:[email protected]>
Reply-To: jkuri/ngSlimscroll <[email protected]mailto:[email protected]>
Date: Monday, June 22, 2015 at 6:46 PM
To: jkuri/ngSlimscroll <[email protected]mailto:[email protected]>
Cc: David Moore <[email protected]mailto:[email protected]>
Subject: Re: [ngSlimscroll] Feature Requests: NG-Repeat + auto-resize, scroll-to, momentum touch scrolling (#7)

Hi,
To be honest I never tested this directive on any other touch device than on my phone (iOS) and seemed to work fine.
Yes, you are right, this directive is incomplete and it will be developed further when I will have time (weekends). Thanks for pointing out feature requests, I will keep you informed about the progress under this issue.

Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-114305513.

@jkuri
Copy link
Owner

jkuri commented Jul 29, 2015

Dave, please check this [https://github.com/lawler/ngSlimscroll/commit/4b41464693ff7eee6274779a11ba15de27de66b9] about auto-resize.

@djoks
Copy link

djoks commented May 4, 2016

Auto resize not working for me with ng-repeat even witht hat solution, container has a height of 100% of parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants