## Description
Hide clear button when the input is disabled.
## Screenshot
| Before | After |
| ---------------------------- | --------------------------- |
| <img width="341" height="327" alt="image"
src="https://github.com/user-attachments/assets/0d3377ed-32ff-41f9-ae68-fbff5af8b26c"
/> | <img width="360" height="338" alt="image"
src="https://github.com/user-attachments/assets/48f1b9c1-1210-4861-998c-476389ccd44f"
/> |
## Checklist
- [x] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [x] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [x] Passed `cargo run` for story tests related to the changes.
- [ ] Tested macOS, Windows and Linux platforms performance (if the
change is platform-specific)
## Description
This PR adds in support for triple clicking an input field, which
selects the entire line. This keeps the input component similar to
expected behavior in operating systems such as macOS.
## How to Test
Navigate to an input field and click the mouse three times. Entire line
should be selected rather than just the current word. Double click still
works as expected.
## Checklist
- [X] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [X] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [X] Passed `cargo run` for story tests related to the changes.
- [x] Tested macOS, Windows and Linux platforms performance (if the
change is platform-specific)
## Breaking Changes
- Remove method `set_root`
- Rename the method to get the center dock
```diff
let dock_area = DockArea::new();
- let dock_item = dock_area.items();
+ let dock_item = dock_area.center();
```
This pull request enhances the sidebar and context menu functionality
with improved right-click context menu support and better event
handling.
- Added context menu support to `SidebarMenuItem`.
- Enhanced popover overlay dismiss behavior to handle both left and
right mouse clicks.
## Preview
<img width="381" height="285" alt="image"
src="https://github.com/user-attachments/assets/f0f61465-2fcc-4f1e-9160-5af7af0884b3"
/>