lecom-ui 5.3.1 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -143,7 +143,7 @@ function TagInput(props) {
|
|
|
143
143
|
} = props;
|
|
144
144
|
const ref = React.useRef(null);
|
|
145
145
|
useTagVisibility(ref, value);
|
|
146
|
-
const visibleCount = Math.min(
|
|
146
|
+
const visibleCount = Math.min(7, value.length);
|
|
147
147
|
const displayTags = value.slice(0, visibleCount);
|
|
148
148
|
const actualHiddenCount = Math.max(value.length - visibleCount, 0);
|
|
149
149
|
const textareaRadius = radius === "full" ? "large" : radius;
|