79811802

Date: 2025-11-06 21:57:31
Score: 0.5
Natty:
Report link

With List(selection:) on macOS, you cannot deselect a row by clicking it a second time. The macOS selection model does not toggle selection on a single click.
What does work natively is Cmd-click on the selected row, which clears the selection (selectedItem = nil).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mikloo