mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
Fix popover click outside handler when clicking siblings
This commit is contained in:
parent
ae34451583
commit
3a52b5b903
4 changed files with 46 additions and 3 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