Skip to content

Commit b4dde56

Browse files
authored
Merge pull request #176 from chris--jones/feature/stop_propagation_on_select
Prevent propagating click event to parents (and thus closing the drop…
2 parents 518a44b + cfa8c2d commit b4dde56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dropdown/dropdown.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ export class MultiselectDropdown implements OnInit, OnChanges, DoCheck, ControlV
182182
}
183183

184184
setSelected(_event: Event, option: IMultiSelectOption) {
185+
_event.stopPropagation();
185186
if (!this.model) {
186187
this.model = [];
187188
}

0 commit comments

Comments
 (0)