Fix doc typo, add comment

This commit is contained in:
Juho Teperi 2018-06-17 22:07:57 +03:00
parent 199533a1ea
commit 51ba6847d7
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
[Example project](../../examples/material-ui/)
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 cursor fixes, which are required due to [async rendering](http://reagent-project.github.io/news/reagent-is-async.html).

View File

@ -31,10 +31,11 @@
(and (:multiline props) (:rows props) (not (:maxRows props)))
textarea-component
;; FIXME: Autosize multiline input is broken.
;; FIXME: Autosize multiline field is broken.
(:multiline props)
nil
;; Select doesn't require cursor fix so default can be used.
(not (:select props))
nil