resolves #84 - add clip to placeholder so it doesn't overflow

This commit is contained in:
Matthew Griffith 2019-07-04 11:40:44 -04:00
parent aab80e2fbc
commit 6eae47bf09

View File

@ -965,10 +965,10 @@ textHelper textInput attrs textOptions =
renderPlaceholder (Placeholder placeholderAttrs placeholderEl) forPlaceholder on =
Element.el
--defaultTextPadding
(forPlaceholder
++ [ Font.color charcoal
, Internal.htmlClass (classes.noTextSelection ++ " " ++ classes.passPointerEvents)
, Element.clip
, Border.color (Element.rgba 0 0 0 0)
, Background.color (Element.rgba 0 0 0 0)
, Element.height Element.fill