From 6eae47bf09b6bc34b29b01f78e9278c7d235621f Mon Sep 17 00:00:00 2001 From: Matthew Griffith Date: Thu, 4 Jul 2019 11:40:44 -0400 Subject: [PATCH] resolves #84 - add clip to placeholder so it doesn't overflow --- src/Element/Input.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Element/Input.elm b/src/Element/Input.elm index 32c2187..8ebdc2f 100644 --- a/src/Element/Input.elm +++ b/src/Element/Input.elm @@ -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