@@ -937,6 +937,10 @@ textHelper textInput attrs textOptions =
937937 , Element.height Element.fill
938938 , Internal.htmlClass classes.inputMultiline
939939 , calcMoveToCompensateForPadding withDefaults
940+
941+ -- The only reason we do this padding trick is so that when the user clicks in the padding,
942+ -- that the cursor will reset correctly.
943+ -- This could probably be combined with the above `calcMoveToCompensateForPadding`
940944 , Element.paddingEach parentPadding
941945 , Internal.Attr (Html.Attributes.style "margin" (renderBox (negateBox parentPadding)))
942946 , Internal.Attr (Html.Attributes.style "box-sizing" "content-box")
@@ -957,8 +961,8 @@ textHelper textInput attrs textOptions =
957961 case textInput.type_ of
958962 TextArea ->
959963 -- textarea with height-content means that
960− -- the input element is rendered `inFront` and transparently.
961− -- Then the input text is rendered as the actual element.
964+ -- the input element is rendered `inFront` with a transparent background
965+ -- Then the input text is rendered as the space filling element.
962966 Internal.element
963967 Internal.asEl
964968 Internal.div