mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(popover): fire "click:outside" event when clicking sibling elements (#1570)
This commit is contained in:
parent
fa5515ded0
commit
0f8a57b9d2
6 changed files with 58 additions and 7 deletions
2
types/Popover/Popover.svelte.d.ts
vendored
2
types/Popover/Popover.svelte.d.ts
vendored
|
@ -60,6 +60,6 @@ export interface PopoverProps
|
|||
|
||||
export default class Popover extends SvelteComponentTyped<
|
||||
PopoverProps,
|
||||
{ ["click:outside"]: CustomEvent<null> },
|
||||
{ ["click:outside"]: CustomEvent<{ target: HTMLElement }> },
|
||||
{ default: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue