Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

withScrollingClasses and performance #47

Open
edenteam opened this issue Jan 12, 2018 · 2 comments
Open

withScrollingClasses and performance #47

edenteam opened this issue Jan 12, 2018 · 2 comments
Assignees
Labels
Improvement Need Minimal Repro Need minimal reproduction (on CodeSandbox, JSFiddle, etc.). Priority: Low Version 2.0

Comments

@edenteam
Copy link

We have perfomance problems with vuebar. When withScrollingClasses is enabled, phantom classes cause delays during scrolling.
http://g.recordit.co/drPqYpR7Y7.gif
But if we disable this option, scrolling stay more fast and lightful.

updateDragger(el, {withScrollingClasses: true});

Can i disable this option without editing npm package?

@DominikSerafin
Copy link
Owner

DominikSerafin commented Jan 12, 2018

Hey @edenteam ,

Thanks for opening up issue. Unfortunately it's not possible to disable this behavior in current version of Vuebar.

But, performance of Vuebar is really important to me. So I'll take some more time soon and I'll investigate it. And maybe I'll add this option in Vuebar 2.0 - or I'll fix the performance root cause.

Meanwhile, as a workaround, I suggest that you force GPU rendering on the scroll container, e.g. with backface-visibility: hidden CSS property. I've had good results this way with improving scroll performance in elements with lots of children.

@DominikSerafin
Copy link
Owner

@edenteam also, if you could provide me minimal reproduction related to this issue, this would help me hugely.

Here are good starting points:
http://jsfiddle.net/u94ns8jc/1/
https://www.webpackbin.com/bins/-Kyoqtm8CbjpkYegi7mF

@DominikSerafin DominikSerafin self-assigned this Mar 23, 2018
@DominikSerafin DominikSerafin added Priority: Low Improvement Need Minimal Repro Need minimal reproduction (on CodeSandbox, JSFiddle, etc.). Version 2.0 labels Dec 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Improvement Need Minimal Repro Need minimal reproduction (on CodeSandbox, JSFiddle, etc.). Priority: Low Version 2.0
Projects
None yet
Development

No branches or pull requests

2 participants