@@ -457,6 +457,10 @@ $module: #{$prefix}-input;
background-color: transparent;
box-sizing: border-box;
+ &:placeholder-shown {
+ text-overflow: ellipsis;
+ }
+
&[type="password"]::-ms-reveal,
&[type="password"]::-ms-clear {
display: none;
@@ -1067,3 +1067,10 @@ export const FixTextAreaAutoFocus = () => {
</div>
)
};
+export const LongPlaceholder = () => {
+ return (<Input
+ placeholder="Long placeholder test Long placeholder test Long placeholder test"
+ style={{width: 200}}
+ />)
+};