fix: composer cursor hidden (#17099)

* fix: iOS cursor in chat
This commit is contained in:
Omar Basem 2023-08-25 21:33:40 +04:00 committed by GitHub
parent 0f7e98cbe2
commit 0ef7dc34e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -11,9 +11,9 @@
(def ^:const composer-default-height (+ bar-container-height input-height actions-container-height))
(def ^:const line-height (:line-height typography/paragraph-1))
(def ^:const line-height (if platform/ios? 18 (:line-height typography/paragraph-1)))
(def ^:const multiline-minimized-height (+ input-height (if platform/ios? 18 line-height)))
(def ^:const multiline-minimized-height (+ input-height line-height))
(def ^:const empty-opacity 0.7)

View File

@ -1,8 +1,8 @@
(ns status-im2.contexts.chat.composer.gradients.style
(:require
[quo2.foundations.colors :as colors]
[quo2.foundations.typography :as typography]
[react-native.reanimated :as reanimated]))
[react-native.reanimated :as reanimated]
[status-im2.contexts.chat.composer.constants :as constants]))
(defn top-gradient-style
[opacity z-index]
@ -24,7 +24,7 @@
:style (top-gradient-style opacity z-index)})
(def bottom-gradient-style
{:height (:line-height typography/paragraph-1)
{:height constants/line-height
:position :absolute
:bottom 0
:left 0