mirror of
https://github.com/stablyai/orca.git
synced 2026-10-12 16:03:03 +00:00
Dismiss keyboard before markdown confirmations
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -985,6 +985,7 @@ export default function SessionScreen() {
|
||||
router.back()
|
||||
return
|
||||
}
|
||||
Keyboard.dismiss()
|
||||
setLeaveDrafts(dirtyDrafts)
|
||||
}, [getDirtyMarkdownDrafts, router])
|
||||
|
||||
@@ -1007,6 +1008,7 @@ export default function SessionScreen() {
|
||||
void readMarkdownTab(tab)
|
||||
return
|
||||
}
|
||||
Keyboard.dismiss()
|
||||
setDiscardMarkdownTarget(tab)
|
||||
},
|
||||
[markdownDocs, readMarkdownTab]
|
||||
|
||||
Reference in New Issue
Block a user