Describe the bug
A notably small TextView cannot be scrolled correctly using a scrollbar.
This bug relates to #2688 which is corrected. I am mentioning it here because it might need a regression test after this one is corrected.
To Reproduce
Steps to reproduce the behavior:
- Add a quite short
TextView, so that you don't have to insert a lot of text to reproduce the error.
- Set it's
ReadOnly property to true and its Text property to several lines, such that they exceed its height. Note that @BDisp had noted that the text view being a read only has nothing to do with the problem.
- Attach a vertical scrollbar to it as demonstrated in the UI catalog.
- Scroll down to the end using the keyboard arrow keys (I do it programmatically in the screenshot) and then try to scroll up again, by clicking on the scrollbar's arrows or using the mouse's middle button.
- Notice that you cannot scroll back to the top.
Expected behavior
To scroll correctly.
Screenshots
Below I am demonstrating the inability to scroll using the scrollbar and the ability to scroll using the keyboard arrow keys with no problem. The bigger TextView above does not suffer from the same problem.

Desktop (please complete the following information):
Describe the bug
A notably small
TextViewcannot be scrolled correctly using a scrollbar.This bug relates to #2688 which is corrected. I am mentioning it here because it might need a regression test after this one is corrected.
To Reproduce
Steps to reproduce the behavior:
TextView, so that you don't have to insert a lot of text to reproduce the error.ReadOnlyproperty to true and itsTextproperty to several lines, such that they exceed its height. Note that @BDisp had noted that the text view being a read only has nothing to do with the problem.Expected behavior
To scroll correctly.
Screenshots
Below I am demonstrating the inability to scroll using the scrollbar and the ability to scroll using the keyboard arrow keys with no problem. The bigger
TextViewabove does not suffer from the same problem.Desktop (please complete the following information):