diff --git a/src/status_im2/contexts/chat/composer/effects.cljs b/src/status_im2/contexts/chat/composer/effects.cljs index 13050f69ce86..26d1fcd9c258 100644 --- a/src/status_im2/contexts/chat/composer/effects.cljs +++ b/src/status_im2/contexts/chat/composer/effects.cljs @@ -89,7 +89,6 @@ (rn/use-effect (fn [] (maximized-effect state animations dimensions chat-input) - (reenter-screen-effect state dimensions chat-input) (layout-effect state) (kb-default-height-effect state) (background-effect state animations dimensions chat-input) @@ -98,7 +97,11 @@ (empty-effect state animations subscriptions) (kb/add-kb-listeners props state animations dimensions) #(component-will-unmount props)) - [max-height])) + [max-height]) + (rn/use-effect + (fn [] + (reenter-screen-effect state dimensions subscriptions)) + [max-height subscriptions])) (defn use-edit [{:keys [input-ref]}