Skip to content

Commit

Permalink
Update projects/ui/src/lib/components/po-field/po-multiselect/po-mult…
Browse files Browse the repository at this point in the history
…iselect.component.ts

Co-authored-by: jcorrea97 <[email protected]>
  • Loading branch information
anliben and jcorrea97 authored Oct 30, 2023
1 parent 8a8e76c commit 98b7179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class PoMultiselectComponent

ngDoCheck() {
const inputWidth = this.inputElement.nativeElement.offsetWidth;
// Permite que os as tags sejam calculados na primeira vez que o componente torna-se visível,
// Permite que as tags sejam calculadas na primeira vez que o componente torna-se visível,
// evitando com isso, problemas com Tabs ou Divs que iniciem escondidas.
if ((inputWidth && !this.visibleElement && this.initialized) || (inputWidth && this.isCalculateVisibleItems)) {
this.debounceResize();
Expand Down

0 comments on commit 98b7179

Please sign in to comment.