Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Feb 7, 2024
1 parent 0453ebe commit 8322cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/semi-ui/typography/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ export default class Base extends Component<BaseTypographyProps, BaseTypographyS

componentDidMount() {
if (this.props.ellipsis) {
// runAfterTicks: make sure start observer on the next tick
this.onResize().then(()=>runAfterTicks(()=>this.observerTakingEffect = true, 1));
}
}
Expand Down

0 comments on commit 8322cd4

Please sign in to comment.