pub fn create_dismiss_event(
node_id: NodeId,
dom_id: DomId,
timestamp: &Instant,
bounds: LogicalRect,
) -> SyntheticEventExpand description
The event a <transient-window> receives when the USER closed it — an
outside click, or Escape — as opposed to the app flipping open.
Built here, next to the other lifecycle events, so it carries the same
EventSource::Lifecycle / EventPhase::Target shape the dispatcher
expects for a ComponentEventFilter. bounds is the popup’s anchor
rect in the parent, the closest thing to “where it was”.