xda
|
19f6b82b61
|
scrollbar: show the narrower scrollbar in idle state (#389)

---------
Co-authored-by: Jason Lee <huacnlee@gmail.com>
|
2024-11-04 11:34:57 +08:00 |
|
xda
|
5c8d0d7eb4
|
scrollbar: Do not show scrollbar event mouse is in Element rect, only show when hovered on scrollbar area or scrolled (#333)
Let the scrollbar only display when hovering and scrolling. The effect
comparison is on the left GPUI and on the right mac. I guess they used
the 10th power ease-in function, and the effect is similar.
Fixes https://github.com/huacnlee/gpui-component/issues/260

|
2024-10-13 10:53:53 +08:00 |
|
Jason Lee
|
efa044f417
|
menu: Fix Menu scrollbar will always showing bug. (#328)
- Improved Scrollbar size.
|
2024-10-10 18:10:28 +08:00 |
|
Jason Lee
|
cbed7b1ea1
|
menu: Add scrollable support to menu. (#310)
<img width="274" alt="image"
src="https://github.com/user-attachments/assets/eaff16a6-1294-4381-96c0-c178c195999b">
|
2024-10-04 14:24:05 +08:00 |
|
Jason Lee
|
185eca6c67
|
scrollbar: Update GPUI and fix scrollbar with new API. (#307)
The https://github.com/zed-industries/zed/pull/18513 has been changed
the `UniformListScrollHandle` API, it provided the scroll contents size,
so we not need calculate it again.
|
2024-10-04 10:23:11 +08:00 |
|
Jason Lee
|
33e5fdcb78
|
scrollbar: Smaller the scrollbar size. (#294)
<img width="918" alt="image"
src="https://github.com/user-attachments/assets/787766ab-63eb-4568-972b-5abd668511f7">
|
2024-10-02 18:15:53 +08:00 |
|
Jason Lee
|
dc3dc4a9ec
|
table: Avoid Table handle mouse wheel event, when it is blocked by some other element like Modal. (#261)
|
2024-09-23 14:32:16 +08:00 |
|
Jason Lee
|
cf551654fe
|
scrollbar: Fix Scrollbar inset and remove bar border. (#236)
<img width="920" alt="image"
src="https://github.com/user-attachments/assets/f834a920-8f89-4be8-9100-d2b5e4364449">
|
2024-09-11 11:59:37 +08:00 |
|
xda
|
4f8c4ccd5d
|
scrollbar: Keep the original thumb position when mouse down to dragging (#234)

fix #224
|
2024-09-11 09:37:07 +08:00 |
|
Jason Lee
|
2c469da55a
|
Update GPUI and apply opacity feature. (#215)
|
2024-09-04 19:29:51 +08:00 |
|
Jason Lee
|
476f97d5e0
|
scrollbar: Opacity scrollbar when not hover on it. (#213)
https://github.com/user-attachments/assets/ea070e6f-3d4c-4a0d-b6da-be34e7dfc579
|
2024-09-04 16:48:49 +08:00 |
|
Jason Lee
|
a79d1a3dc2
|
Fix scrollbar to default to invisible on first render. #146 (#158)
|
2024-08-16 14:07:59 +08:00 |
|
Jason Lee
|
63f333d8ad
|
Add Drawer (#137)
- Update scrollable to accept EntityId.
https://github.com/user-attachments/assets/a6c02890-3a6e-4b82-b5c5-3f0a48f35368
|
2024-08-13 16:01:52 +08:00 |
|
Jason Lee
|
2e1a4f84fd
|
Add to support click Scrollbar to scroll and fix thumb position when dragging. (#112)
- Add scrollbar border on hover and dragging.
https://github.com/user-attachments/assets/c7c3b9c1-d458-438d-bf78-3b5bc2ddcd5c
|
2024-08-06 15:09:42 +08:00 |
|
Jason Lee
|
2396c918f2
|
Hide scrollbar when scroll are is small than container. (#71)
|
2024-07-25 15:53:57 +08:00 |
|
Jason Lee
|
6b019e3954
|
Impl InteractiveElement, StatefulInteractiveElement for Scrollable.
|
2024-07-24 17:59:44 +08:00 |
|
Jason Lee
|
030a706a4c
|
Refactor ScrollView into scrollable fluent method. (#68)
|
2024-07-24 17:50:50 +08:00 |
|
Jason Lee
|
7305967c09
|
Impl Scrollable for Focusable<E>, Stateful<E>.
|
2024-07-24 17:01:15 +08:00 |
|
Jason Lee
|
22a15c7dcc
|
Update scroll view (#66)
|
2024-07-24 15:41:20 +08:00 |
|
Jason Lee
|
4edf1e3427
|
Update ScrollView to let content is FnOnce. (#65)
|
2024-07-24 11:38:30 +08:00 |
|
Jason Lee
|
faa16fb660
|
Add ScrollView (#56)
|
2024-07-23 09:38:23 +08:00 |
|
Jason Lee
|
2b184ca8d5
|
New Scrollbar (#33)
https://github.com/user-attachments/assets/30d890bc-49cc-4abe-8652-387ddbb73198
|
2024-07-16 12:00:51 +08:00 |
|
Jason Lee
|
3c52d5f428
|
Rename ScrollableHandleElement to ScrollableMask.
|
2024-07-06 22:31:51 +08:00 |
|
Jason Lee
|
ac789b2379
|
Add Table (#16)
https://github.com/huacnlee/gpui-component/assets/5518/8603cbcc-c416-4d10-84a0-8cfe2e021e1a
|
2024-07-06 21:01:16 +08:00 |
|