Tab selection event [Question]
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Thanks for Druid, it's very good.
I'm using the `Tabs` widget. Once a tab is selected, I'd like for example to load data, or to set the focus on a particular widget in this selected tab.
How is it possible to know what tab has just been selected?
Many thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Tabs widget and trace how tab selection is represented and exposed. Determine whether the requested selection notification belongs in the widget API or documentation, then verify that a user can detect the selected tab and trigger follow-up work such as loading data or focusing a widget.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100