mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 15:24:14 +00:00
Merge branch 'fix/styling-issue' of https://github.com/langgenius/dify into fix/styling-issue
This commit is contained in:
@@ -32,6 +32,7 @@ const Drawer = ({
|
||||
const currChildChunk = useSegmentListContext(s => s.currChildChunk)
|
||||
|
||||
useKeyPress('esc', (e) => {
|
||||
if (!open) return
|
||||
e.preventDefault()
|
||||
onClose()
|
||||
}, { exactMatch: true, useCapture: true })
|
||||
|
||||
Reference in New Issue
Block a user