Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Maurer <lukas.maurer@siemens.com>
  • Loading branch information
danielleroux and nuke-ellington authored Feb 26, 2024
1 parent 3354490 commit 797740f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/dropdown/dropdown-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ class DropdownController {
}
}

dismissAll(forceCloseIds: string[] = []) {
dismissAll(ignoreBehaviorForIds: string[] = []) {
this.dropdowns.forEach((dropdown) => {
if (
!forceCloseIds.includes(dropdown.getId()) &&
!ignoreBehaviorForIds.includes(dropdown.getId()) &&
(dropdown.closeBehavior === 'inside' ||
dropdown.closeBehavior === false)
) {
Expand Down

0 comments on commit 797740f

Please sign in to comment.