From 7506ff0d4b2ca2519e3cd1fce8f55cb14cbecd62 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sat, 8 Jan 2022 09:38:28 +0500 Subject: [PATCH] dismiss keyboard --- apps/mobile/src/views/Editor/Functions.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js index 282e8034e..6af146b94 100644 --- a/apps/mobile/src/views/Editor/Functions.js +++ b/apps/mobile/src/views/Editor/Functions.js @@ -31,7 +31,7 @@ import {normalize} from '../../utils/SizeUtils'; import {sleep, timeConverter} from '../../utils/TimeUtils'; import {TableCellProperties} from './TableCellProperties'; import {TableRowProperties} from './TableRowProperties'; -import tiny from './tiny/tiny'; +import tiny, { safeKeyboardDismiss } from './tiny/tiny'; import { IMAGE_TOOLTIP_CONFIG, TABLE_TOOLTIP_CONFIG @@ -482,15 +482,17 @@ export const _onMessage = async evt => { showTableOptionsTooltip(); break; case 'tablecelloptions': - console.log(message.value); eSendEvent('updatecell', message.value); + safeKeyboardDismiss(); + await sleep(100); presentSheet({ component: }); break; case 'tablerowoptions': - console.log('tablerowoptions', message.value); eSendEvent('updaterow', message.value); + safeKeyboardDismiss(); + await sleep(100); presentSheet({ component: });