-
Notifications
You must be signed in to change notification settings - Fork 151
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
AvaloniaEdit works incorrectly with every value of AllowScrollBelowDocument #141
Comments
Ok I somewhy can't repro anymore the behaviour in WPF with value = true from above. Current behaviour |
It's reproducible only when you scroll with your mouse, not scrollbar.I'm not sure we need to port this also. That behaviour is bad IMO |
So current plan is to port the behaviour from WPF and additionally to make it consistent between scrollbar and mouse scrolling |
@Takoooooo, agree. Note that other editors (VSCode, Sublime), behaves in that way. They allow scrolling below document by default, and they behave in this way:
Demo: https://www.loom.com/share/aa99e5381fe34efbb2d22d4caa673c74 |
How it works in Avalonia with the default value(true).
http://g.recordit.co/WMkRcE7Fxf.gif
How it works in WPF with value = true.
http://g.recordit.co/6h5W3Ea404.gif
How it works in Avalonia with value = false.
http://g.recordit.co/9KJGzvPYy9.gif
Fixed by #139 . Fixed behaviour https://recordit.co/8q2rA25T9I
How it works in WPF with value = false.
http://g.recordit.co/3SBqf65cD5.gif
The text was updated successfully, but these errors were encountered: