This commit is contained in:
andrey 2024-06-18 12:37:37 +02:00
parent 619adc3d01
commit 2de5f3bb28
No known key found for this signature in database
GPG Key ID: C20F2FDE9A98BA61
2 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,7 @@
;; with the old `text-value`, leading to wrong composer height after blur.
(js/setTimeout
(fn []
(blur-input input-ref)
(reanimated/set-shared-value input-height constants/input-height))
(blur-input input-ref))
100)
(.setNativeProps ^js @input-ref (clj->js {:text ""}))
(rf/dispatch [:chat.ui/cancel-message-edit]))

View File

@ -6,6 +6,7 @@
[react-native.platform :as platform]
[react-native.reanimated :as reanimated]
[react-native.safe-area :as safe-area]
[reagent.core :as reagent]
[status-im.contexts.chat.messenger.composer.view :as composer]
[status-im.contexts.chat.messenger.messages.contact-requests.bottom-drawer.view :as
contact-requests.bottom-drawer]