diff --git a/src/components/Ellipsis/index.js b/src/components/Ellipsis/index.js index 4537b367a5db1f0ddc299865898a7caef8e4dc68..8306b5d839878158ae93586293d7fc4902f4df0a 100644 --- a/src/components/Ellipsis/index.js +++ b/src/components/Ellipsis/index.js @@ -109,7 +109,7 @@ export default class Ellipsis extends Component { // bisection const len = text.length; - const mid = Math.floor(len / 2); + const mid = Math.ceil(len / 2); const count = this.bisection(targetHeight, mid, 0, len, text, shadowNode);