Skip to content

Unable to ineract with table row widgets (regression) #4047

@wesley-ducharme-haven

Description

@wesley-ducharme-haven

Unable to interact with table row widgets

I tested with 0.26.2 and also latest master as of (14/02/2024).

0.26 introduced a regression to the TableBuilder / Table behavior.

TableBuilder::new(ui).sense(Sense::click(())
Previous: Rows are clickable. Inner widgets can be interacted with (for example a checkbox)
Current: Rows are clickable. Inner widgets can't be interacted with.

You need to remove .sense(Sense::click()) to have the inner widgets be interactable.

Reproduce

You can reproduce this behavior using the web demo.

  1. Enable "Table Demo" on the right side
  2. Enable "Clickable rows"
  3. Rows are clickable
  4. Try to use the "Click me" checkbox, it doesn't work.
  5. Disable "Clickable rows"
  6. Rows aren't clickable
  7. Try to use the "Click me" checkbox, it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions