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

Scroll easing interrupts jump-to-top when applying filters #152

Open
anselmbradford opened this issue Jun 1, 2014 · 0 comments
Open

Scroll easing interrupts jump-to-top when applying filters #152

anselmbradford opened this issue Jun 1, 2014 · 0 comments

Comments

@anselmbradford
Copy link
Member

To repeat:

  • Open app and click search.
  • Flick scroll through search results so that list is still scrolling when you click a filter.
  • The results jump, but don't visible move to the top.

The list may be moving to the top, but it appears the scrolling easing is still active so the list continues scroll immediately, hiding the search results message immediately from view. Though because of the scenario below it seems like the scrollTop is being ignored (https://github.com/codeforamerica/trails-mobile/blob/master/www/js/application/controllers.js#L251) while the list is in motion.

Try flicking to the bottom of results list to get scrolling going and click the Biking, Horse Riding, and XC Skiiing filters. The results list will appear blank, presumably because the list has continued scrolling from where it was by its length has reduce, so the blank area after the list is being viewed. Clicking any of the filters brings the results back in view.

search-filters

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

2 participants