Commit 5bd32f4
fix(data-grid): prevent column header sorting popover from closing when cell is focused (#1114)
* fix: prevent column header sorting popover from closing when cell is focused
Expand getIsInPopover to include Radix dropdown and popover content. When
a cell was focused and the user clicked a column header to sort, the
grid's focusout handler was stealing focus back to the cell because the
dropdown content wasn't recognized as a valid popover. This caused the
sorting popover to close immediately.
Fixes #1108
Co-authored-by: Cursor <cursoragent@cursor.com>
* chore: sync
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 119b001 commit 5bd32f4
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | | - | |
262 | | - | |
263 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
| |||
0 commit comments