We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5c580 commit 7d69fa9Copy full SHA for 7d69fa9
src/status_im2/contexts/chat/composer/utils.cljs
@@ -112,6 +112,7 @@
112
;; after the `text-value` was cleared. Otherwise the height will be calculated
113
;; with the old `text-value`, leading to wrong composer height after blur.
114
(js/setTimeout #(blur-input input-ref) 100)
115
+ (.setNativeProps ^js @input-ref (clj->js {:text ""}))
116
(rf/dispatch [:chat.ui/set-input-content-height constants/input-height])
117
(rf/dispatch [:chat.ui/cancel-message-edit]))
118
0 commit comments