Add comment describing the rationale for the workaround

This commit is contained in:
Vitaliy Vlasov 2018-08-28 13:31:15 +03:00
parent 3d09252bb1
commit 6e2a2ca1b3
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
:auto-focus true :auto-focus true
:auto-capitalize :none} :auto-capitalize :none}
(dissoc props :style :height) (dissoc props :style :height)
;; Workaround until `value` TextInput field is available on desktop:
;; https://github.com/status-im/react-native-desktop/issues/320
(when-not platform/desktop? (when-not platform/desktop?
{:value text}))] {:value text}))]
(when content content)] (when content content)]