Skip to content

Commit 757196f

Browse files
close modals when bluring (dates and search hints) (#1294)
When clicking outside the search hints or date modal, the modals close to prevent them appearing ontop of other modals when you click results <img width="2168" height="1222" alt="Screenshot 2025-10-24 at 11 07 49 AM" src="https://github.com/user-attachments/assets/c930919a-7d91-420d-be46-1db5ca35c2de" /> <img width="1004" height="866" alt="Screenshot 2025-10-24 at 11 07 52 AM" src="https://github.com/user-attachments/assets/8969bc7d-2655-4a1d-8a34-1f301401edf8" /> Fixes HDX-2643
1 parent 431a9f0 commit 757196f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
close modals when bluring (dates and search hints)

packages/app/src/components/DBRowTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,6 @@ export const RawLogTable = memo(
860860
[styles.isTruncated]: !wrapLinesEnabled,
861861
})}
862862
onClick={e => {
863-
e.stopPropagation();
864863
_onRowExpandClick(row.original);
865864
}}
866865
aria-label="View details for log entry"

packages/app/src/components/TimePicker/TimePicker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ export const TimePicker = ({
185185
return (
186186
<Popover
187187
position="bottom-start"
188-
closeOnClickOutside={false}
189188
closeOnEscape
190189
opened={opened}
191190
onClose={close}

0 commit comments

Comments
 (0)