Merge branch 'fix/styling-issue' of https://github.com/langgenius/dify into fix/styling-issue

This commit is contained in:
twwu 2025-09-16 11:52:26 +08:00
commit aeaad2e843
1 changed files with 1 additions and 0 deletions

View File

@ -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 })