Add comment describing the rationale for the workaround
This commit is contained in:
parent
3d09252bb1
commit
6e2a2ca1b3
|
@ -18,6 +18,8 @@
|
|||
:auto-focus true
|
||||
:auto-capitalize :none}
|
||||
(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?
|
||||
{:value text}))]
|
||||
(when content content)]
|
||||
|
|
Loading…
Reference in New Issue