mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
style(base): add focus-preservation comment to status cell mousedown
This commit is contained in:
@@ -165,6 +165,7 @@ export function CellStatus({
|
||||
)}
|
||||
onMouseEnter={() => setActiveIndex(idx)}
|
||||
onMouseDown={(e) => {
|
||||
// Keep focus on the search input so click doesn't blur + close popover.
|
||||
e.preventDefault();
|
||||
}}
|
||||
onClick={() => handleSelect(choice)}
|
||||
|
||||
Reference in New Issue
Block a user