gpui-component/crates
xda 14ca368be7
input: Ensure resizing the window doesn't force the cursor back into view (#370)
Fix #331

It is ensured that the scroll offset remains consistent during parent
container resizing, preventing the cursor from being forced back into
view unless the user interacts with the input, providing a more
consistent user experience in scenarios where automatic scrolling during
resizing is undesirable.

This behavior aligns with common text editors and input fields where
resizing the window doesn't force the cursor back into view.

![2024-10-21 20 27
00](https://github.com/user-attachments/assets/599ef72d-3ec8-4fe5-a26c-10263044db6f)
2024-10-21 20:01:49 +08:00
..
app linux: Fix #104 Linux platform crash with BorrowMutError. (#367) 2024-10-19 01:21:31 +08:00
story Add the Preset Ranges and add border for today (#365) 2024-10-18 20:38:16 +08:00
ui input: Ensure resizing the window doesn't force the cursor back into view (#370) 2024-10-21 20:01:49 +08:00