Skip to content

Commit

Permalink
Update dropdown.ts
Browse files Browse the repository at this point in the history
address issue by adding p-dropdown-open class when overlayVisible is true
  • Loading branch information
willmca committed Jun 19, 2024
1 parent 1a7c2cf commit 64ed9dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,8 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
'p-focus': this.focused,
'p-inputwrapper-filled': this.modelValue() !== undefined && this.modelValue() !== null && !this.modelValue().length,
'p-inputwrapper-focus': this.focused || this.overlayVisible,
'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled'
'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled',
'p-dropdown-open': this.overlayVisible
};
}

Expand Down

0 comments on commit 64ed9dd

Please sign in to comment.