gpui-component/crates/ui
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
..
locales dock: Add left, bottom, right fixed dock and support toggle. (#291) 2024-10-02 17:42:52 +08:00
src input: Ensure resizing the window doesn't force the cursor back into view (#370) 2024-10-21 20:01:49 +08:00
tests/fixtures dock: Add to support save left, right, bottom dock state. (#303) 2024-10-03 17:25:31 +08:00
Cargo.toml webview: Use Wry crate version. 2024-10-16 16:32:25 +08:00
default-colors.json Add Skeleton (#128) 2024-08-09 15:55:48 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00