Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MapTo0 committed Aug 13, 2020
1 parent 0bbf09a commit ca2ccd6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/main/src/Tokenizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,6 @@ class Tokenizer extends UI5Element {
}

onAfterRendering() {
/*
We schedule an invalidation as we have the tokens count
changed and we need them rendered for the nmore count
*/
if (this._tokensCount !== this._getTokens().length) {
this._invalidate();
this._tokensCount = this._getTokens().length;
}

this._nMoreCount = this.overflownTokens.length;
this._scrollEnablement.scrollContainer = this.expanded ? this.contentDom : this;
}
Expand Down

0 comments on commit ca2ccd6

Please sign in to comment.