diff --git a/src/status_im2/contexts/chat/composer/handlers.cljs b/src/status_im2/contexts/chat/composer/handlers.cljs index 4053513cd7..ac49ed179c 100644 --- a/src/status_im2/contexts/chat/composer/handlers.cljs +++ b/src/status_im2/contexts/chat/composer/handlers.cljs @@ -15,8 +15,8 @@ (defn focus [{:keys [input-ref] :as props} - {:keys [text-value focused? lock-selection? saved-cursor-position gradient-z-index]} - {:keys [height saved-height last-height opacity background-y gradient-opacity container-opacity] + {:keys [text-value focused? lock-selection? saved-cursor-position]} + {:keys [height saved-height last-height opacity background-y container-opacity] :as animations} {:keys [max-height] :as dimensions}] (reset! focused? true) @@ -27,9 +27,6 @@ (when (> (reanimated/get-shared-value last-height) (* constants/background-threshold max-height)) (reanimated/animate opacity 1) (reanimated/set-shared-value background-y 0)) - (when (= @gradient-z-index -1) - (reanimated/animate gradient-opacity 1) - (reset! gradient-z-index 1)) (js/setTimeout #(reset! lock-selection? false) 300) (when (and (not-empty @text-value) @input-ref) (.setNativeProps ^js @input-ref