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
This CL adds a hoisted ScrollState to BasicTextField2 to enable horizontal and vertical scroll. Like the existing `BasicTextField`, BTF2 only supports single orientated scrolling. Single line configuration disables `softWrap` and enables horizontal scroll. Multi-line configuration does the exact opposite to enable vertical scroll.
Cursor is kept in visible area only when it's shown (focused, editable).
There is also a fix to clip test for `BasicTextField`. The previous test only looked at the area JetBrains#4, but in fact it needs to check JetBrains#2, JetBrains#3, JetBrains#4 for any spill from BasicTextField.
// BasicTextField is JetBrains#1
// Wrapping box is all the area visible below
-----
|1|2|
-----
|3|4|
-----
Relnote: N/A
Test: :compose:foundation:foundation:cAT
Change-Id: Iccac198dec2d2908c4c51ddfaf40dcb05515ce70
No description provided.
The text was updated successfully, but these errors were encountered: