You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scrolling behavior is not smooth when you do it with the mouse wheel. It has been fixed in chromium 49 that comes since electron 0.37.x
So, could you update to the last version of electron?
VSCode Version: 0.10.12-insider
OS Version: Windows 10
I left a video showing the difference with electron 0.37.x
Reacted by Maxime Quandalle, Juhász Péter, Jan Niklas Hasse, benignant, Nicolás Parada, Petr Hurtak, Kaiyuan Liu, Peter Zeller, 夹克, Anders Elfgren and 13 more
I haven’t look at Chromium49 smooth scrolling yet, but it seems to me that this wouldn’t help VSCode scrolling that is managed using CSS transform3D and absolute positioning.
Why not using the CSS property "transition-duration" for that? Seems to work quite well at first glance - if the lines that get invisible wouldn't disappear before the transition-duration is over.
I am not sure how important smooth scrolling is when translate3d is not used (and thus transition-duration has no effect).
darkon5 I tried the latest master. Smooth scrolling seems to be working with the touchpad now (wohoo), but it still does not seem to work with the mouse wheel (tested on SP4 running Debian Stretch).
Activity
mquandalle commentedon Apr 2, 2016
I haven’t look at Chromium49 smooth scrolling yet, but it seems to me that this wouldn’t help VSCode scrolling that is managed using CSS
transform3Dand absolute positioning.nicolasparada commentedon Apr 4, 2016
Well then, eliminate these approach and use the native scroll behavior in chromium >= 49.
jhasse commentedon Apr 13, 2016
Just tried out latest master: This is indeed not fixed in VSCode simply by updating to electron 0.37.5.
alexdima commentedon Apr 28, 2016
Maxime Quandalle (@mquandalle) is correct, we own the scrolling from JS.
We need to distribute the scrolling from point X to point Y through multiple frames in our code. Definitely a nice thing to have.
benignant commentedon May 26, 2016
...So, are we going to get smooth scrolling?
alexdima commentedon May 26, 2016
I think this is a good opportunity for a PR:
ScrollableElementshould get a new optionsmoothScrollingor equivalent that can be exercised from the editorScrollableScrollable.updateStatecould use this option to update itsscrollTopandscrollLeftinnframes, according to some math function.hediet commentedon Jun 9, 2016
Why not using the CSS property "transition-duration" for that? Seems to work quite well at first glance - if the lines that get invisible wouldn't disappear before the transition-duration is over.
I am not sure how important smooth scrolling is when translate3d is not used (and thus transition-duration has no effect).
darkon5 commentedon Mar 9, 2017
Is this issue still active?
nicolafio commentedon Apr 23, 2017
darkon5 I tried the latest master. Smooth scrolling seems to be working with the touchpad now (wohoo), but it still does not seem to work with the mouse wheel (tested on SP4 running Debian Stretch).
nicolafio commentedon Apr 26, 2017
I submitted a pull request that should fix this.
darkon5 commentedon May 9, 2017
Jd342 HERO! <3