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

Would be good if #9

Open
mpa3b opened this issue Jul 22, 2014 · 2 comments
Open

Would be good if #9

mpa3b opened this issue Jul 22, 2014 · 2 comments

Comments

@mpa3b
Copy link

mpa3b commented Jul 22, 2014

  1. if I have a menu in scroolbar, which has page links (#) and scrooling is animated, would be good if scroolbar won't dissappear on page scrool down.
  2. is there a way to call scroolbar apear on custom event? like window mouse position close to top?
@eduardomb
Copy link
Owner

Hi, Ilya.

Those are nice features. I'm thinking on adding two methods to handle your first issue:

  • $.scrollupbar.fix() - force the bar to be visible even on scroll down
  • $scrollupbar.unfix() - undo the previous method re-allowing bar to be hidden on scroll down

Then you would have to call $.scrollupbar.fix() before animating page scroll and $.scrollupbar.unfix() after it.

For the second issue I'm thinking on adding $.scrollupbar.show() and $scrollupbar.hide() methods. Then you would be able to listen to some event, ie. mousemove, and do your magic.

Is that what you had in mind?

I currently have some mobile smoothness improvements on the to-do queue, but I'll try to release these features soon.

@mpa3b
Copy link
Author

mpa3b commented Jul 27, 2014

I'm not sure — I had no code solution in mind, I only pointed at some usability issues I met.
Probably, if script scenario would change so scrollupbar wouldnt dissappear on scroll down if mouse cursor is hoverting (for dektops) — that'll fix the issue.

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

No branches or pull requests

2 participants