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

Scrollbar very slow #2

Open
antonio-vargas opened this issue Apr 11, 2017 · 10 comments
Open

Scrollbar very slow #2

antonio-vargas opened this issue Apr 11, 2017 · 10 comments

Comments

@antonio-vargas
Copy link

When I scroll with the mouse, it feels like the scroll-bar slows down. Any way to fix it?
Another question in case of adding more item in a div (with v-for) is the scroll-bar resized?

@luiguild
Copy link
Owner

Hi @antoniobk! Thanks to share your question!
About the bar resize, yes! The bar will be resized with more content. I use one 'event listener' with the content and then when changed, the bar will resized.

Now, about the slow down animation, you can provide a gif ou more information?
Thanks!

@antonio-vargas
Copy link
Author

http://imgur.com/P4rjTED

@luiguild
Copy link
Owner

Nice! You can send to me your environment? What is this browser, your OS... 'because you are the first that report it to me... 🤔

@antonio-vargas
Copy link
Author

OS: Win10
Browser: Chrome 57.0.2

I was wondering about the scroll-bar resizing because I have a project where I use vue1.0 and use a custom scroll component and did not resize the scroll
(Sorry for english, I'm studying)

@luiguild
Copy link
Owner

Relax, bro! I'm studying also 😃
Honestly I don't know what's going on in your case ... It's very strange this behavior... You can test in another browser?

@antonio-vargas
Copy link
Author

A friend made the same mistake
OS: debian 8.7 (64 bit)
web browser: firefox 45.8.0
web browser: chromium 57.0.2987.98
I was stealing with the arrow keys and it happens that the div does scroll but not the scroll-bar

@luiguild luiguild added the bug label Apr 12, 2017
@luiguild
Copy link
Owner

Ok, I tested now with the arrow keys and yes, it's a bug... You can help or work on this? I will investigate these things and soon I will report to you!

@antonio-vargas
Copy link
Author

Of course 😃

@appinteractive
Copy link

You could animate the scrollbar position so it would at least look better 😬

@luiguild
Copy link
Owner

I found the problem...

V-Bar is just a simple wrapper of the native scroll bar... So, I get all browser's scroll responses, and with this, browser get of OS cursor's movement based on personal settings of each user. If in your cursor settings are set up to jump 3 lines (primarily in the Windows case) and not make a smooth movement, so V-Bar APPARENTLY are slow... But it's only apparently... I can't reproduce this in my environment because I have a Mac and all scroll moviment's are smooth by default...

I thinked about put a simple css transition, but the result it's strange (I guess)...

Someone have a better ideia?

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

3 participants