fix editor focusing

This commit is contained in:
ammarahm-ed
2021-01-10 10:59:57 +05:00
parent 785b3ebb0e
commit 512aee9c8c
2 changed files with 5 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ const ActionSheetWrapper = ({
/>
}
onClose={() => {
if (editing.isFocused) {
if (editing.isFocused === true) {
post('blur');
if (editing.focusType == "editor") {
post('focusEditor');