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
Press the return key repeatedly until it begins to scroll down
Tap "Clear" button
Expected behavior
CodeEditor will scroll up to the first line just like when you tap "Select All" and press the delete key.
ScreenRecording_05-05-2025.04-03-31_1.mp4
Actual behavior
The text will be removed, but the scroll position won't be changed and you can't even scroll on it until you input some text. Also, onChange(of: position) won't be called.
Description
The scroll position doesn't change when the text is changed from the parent view.
ScreenRecording_05-05-2025.03-00-46_1.mp4
How to reproduce the issue
CodeEditorto put the cursor on itExpected behavior
CodeEditorwill scroll up to the first line just like when you tap "Select All" and press the delete key.ScreenRecording_05-05-2025.04-03-31_1.mp4
Actual behavior
The text will be removed, but the scroll position won't be changed and you can't even scroll on it until you input some text. Also,
onChange(of: position)won't be called.Environment