Skip to content

Commit

Permalink
fix: Update packages/core/src/components/dropdown/dropdown.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Maurer <[email protected]>
  • Loading branch information
danielleroux and nuke-ellington authored Dec 19, 2023
1 parent 5b536db commit 9c821d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/dropdown/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ export class Dropdown {
async componentDidLoad() {
this.changedTrigger(this.trigger, null);

// Event listener to check of a dropdown is inside another dropdown
// chancel the event will prevent the closing of the parent dropdown
// Event listener to check if a dropdown is inside another dropdown
// cancellation of the event will prevent the closing of the parent dropdown
this.hostElement.addEventListener('check-nested-dropdown', (e) => {
e.preventDefault();
e.stopPropagation();
Expand Down

0 comments on commit 9c821d4

Please sign in to comment.