-
Notifications
You must be signed in to change notification settings - Fork 149
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
Synchronize scroll position between two controls - Scroll Position not updating #454
Comments
I recommend you to synchronize using the scroll offset |
With ScrollToVerticalOffset also nothing happens:
This is the View I'm using:
|
I did some more testing by creating a blank project with just two AvaloniaEdit controls and a button. |
I try to sync the scroll position of two AvaloniaEdit controls that are places beside eachother in a grid.
The line to scroll to is actually determined correctly. I did very that by writing currentLineSource to the console.
This is the code behind of the View (Constructor calls SetupEditors()):
The text was updated successfully, but these errors were encountered: