Skip to content

@jimka/typescript-ui / core / PopoverDismissMode

Type Alias: PopoverDismissMode

ts
type PopoverDismissMode = "click-outside" | "blur" | "manual";

Defined in: src/typescript/lib/core/Popover.ts:65

Strategy used to dismiss a Popover:

  • "click-outside": closes on a viewport mousedown outside both the popover and its anchor element (the anchor is excluded so the trigger click can re-open without immediate re-close).
  • "blur": closes when keyboard focus leaves the popover subtree.
  • "manual": caller drives hide() explicitly.