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)}
|
onMouseEnter={() => setActiveIndex(idx)}
|
||||||
onMouseDown={(e) => {
|
onMouseDown={(e) => {
|
||||||
|
// Keep focus on the search input so click doesn't blur + close popover.
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}}
|
}}
|
||||||
onClick={() => handleSelect(choice)}
|
onClick={() => handleSelect(choice)}
|
||||||
|
|||||||
Reference in New Issue
Block a user