marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.39k stars 158 forks source link

mo.ui.table clicking anywhere in a pre-selected row (including highlighting) un-selects the row #1719

Closed delennc closed 4 days ago

delennc commented 4 days ago

Describe the bug

Selecting a row in mo.ui.table requires clicking checkbox, but clicking anywhere in the row un-selects it (ideally un-selection would only happen when clicking checkbox)

Environment

0.6.22

Code to reproduce

No response

mscolnick commented 4 days ago

this is actually by design. there are a few other UX that we looked into that support this and find it quite useful. going to move this to a discussion before making it an issue that we would like to change