Commit f4afd7e
committed
fix(webapp): stop copy tooltip opening on whole-cell hover
The copy-cell tooltip was wired to a controlled `open` state that
followed the whole cell's hover, so it popped open over neighbouring
content whenever the pointer crossed any part of the cell instead of
just the copy button. Leave the tooltip uncontrolled so Radix opens
it only when the pointer or keyboard focus lands on the button
itself; the button still stays permanently mounted so it keeps its
place in the tab order.1 parent 2856a6e commit f4afd7e
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
850 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
893 | 892 | | |
894 | 893 | | |
895 | 894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
484 | | - | |
| 483 | + | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | 521 | | |
523 | 522 | | |
524 | 523 | | |
| |||
0 commit comments