diff --git a/src/components/controls/TextInput/TextInput.scss b/src/components/controls/TextInput/TextInput.scss index 437a93584d..669cac6136 100644 --- a/src/components/controls/TextInput/TextInput.scss +++ b/src/components/controls/TextInput/TextInput.scss @@ -44,6 +44,11 @@ $block: '.#{variables.$ns}text-input'; &__content { box-sizing: border-box; + // It's fixing input overflowed behaviour + // Input itself doesn't have a border radius, but content has. + // And it could cause a render problem, + // when input accidentally goes beyond the wrapper + overflow: hidden; display: flex; width: 100%; }