Skip to content

Commit

Permalink
Merge pull request #14812 from primefaces/issue-14811
Browse files Browse the repository at this point in the history
Fixed #14811 - Dropdown | Dropdown no longer closes when clicking the…
  • Loading branch information
cetincakiroglu authored Feb 22, 2024
2 parents 10d76cb + 8893a65 commit fc8747b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1111,9 +1111,9 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
const value = this.getOptionValue(option);
this.updateModel(value, event);
this.focusedOptionIndex.set(this.findSelectedOptionIndex());
isHide && setTimeout(() => this.hide(true), 1);
preventChange === false && this.onChange.emit({ originalEvent: event, value: value });
}
isHide && setTimeout(() => this.hide(true), 1);
}

onOptionMouseEnter(event, index) {
Expand Down

0 comments on commit fc8747b

Please sign in to comment.