mirror of
https://github.com/status-im/reagent.git
synced 2025-01-13 05:14:45 +00:00
Fix doc typo, add comment
This commit is contained in:
parent
199533a1ea
commit
51ba6847d7
@ -3,7 +3,7 @@
|
|||||||
[Example project](../../examples/material-ui/)
|
[Example project](../../examples/material-ui/)
|
||||||
|
|
||||||
Material-UI [TextField](https://material-ui.com/api/text-field/) has for long
|
Material-UI [TextField](https://material-ui.com/api/text-field/) has for long
|
||||||
time caused from for Reagent users. The problem is that `TextField` wraps the
|
time caused problems for Reagent users. The problem is that `TextField` wraps the
|
||||||
`input` element inside a component so that Reagent is not able to enable
|
`input` element inside a component so that Reagent is not able to enable
|
||||||
input cursor fixes, which are required due to [async rendering](http://reagent-project.github.io/news/reagent-is-async.html).
|
input cursor fixes, which are required due to [async rendering](http://reagent-project.github.io/news/reagent-is-async.html).
|
||||||
|
|
||||||
|
@ -31,10 +31,11 @@
|
|||||||
(and (:multiline props) (:rows props) (not (:maxRows props)))
|
(and (:multiline props) (:rows props) (not (:maxRows props)))
|
||||||
textarea-component
|
textarea-component
|
||||||
|
|
||||||
;; FIXME: Autosize multiline input is broken.
|
;; FIXME: Autosize multiline field is broken.
|
||||||
(:multiline props)
|
(:multiline props)
|
||||||
nil
|
nil
|
||||||
|
|
||||||
|
;; Select doesn't require cursor fix so default can be used.
|
||||||
(not (:select props))
|
(not (:select props))
|
||||||
nil
|
nil
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user