linebender / linebender/druid

Tab selection event [Question]

Open
#2,154 9 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.