Skip to content

feat(Tooltip, Popover): delay and animation - #358

Merged
xidedix merged 1 commit into
v5.7from
feat/tooltip-delay-animation
Nov 26, 2026
Merged

xidedix merged 1 commit into
v5.7from
feat/tooltip-delay-animation

Conversation

@xidedix

@xidedix xidedix commented Nov 26, 2026

Copy link
Copy Markdown
Member
  • cTooltipDelay, cPopoverDelay: ms or { show, hide }, default { show: 150, hide: 0 }, timing as before.
  • show runs from the request to the reveal; visible turns true at once, as before. hide runs from the end of the trigger to the start of hiding; visible stays true until then. Hover or focus that comes back inside it keeps the bubble and emits nothing; a click there starts hide again, like a click on a shown bubble.
  • hide for triggers only: Escape, visible set to false and a reference out of view hide at once. A trigger ended before the bubble appears drops it. Setting visible to true inside hide does not keep the bubble, the value is already true. A host destroyed inside hide reports no false, as one destroyed while shown.
  • cTooltipAnimation, cPopoverAnimation, animation on c-tooltip and c-popover: false drops the fade and the 300 ms wait for it.
  • Behavior change: Escape before the bubble appears reaches the page, was swallowed; still drops the bubble.

- `cTooltipDelay`, `cPopoverDelay`: ms or `{ show, hide }`, default `{ show: 150, hide: 0 }`, timing as before
- `show` from the request to the reveal, `visible` turns true at once as before; `hide` from the end of the trigger to the start of hiding, `visible` stays true until then
- `hide` for triggers only; Escape, `visible` set to false and a reference out of view hide at once; a trigger ended before the bubble appears drops it; hover or focus started again before it hides keeps it, a click starts `hide` again
- `cTooltipAnimation`, `cPopoverAnimation`, `animation` on `c-tooltip` and `c-popover`: `false` drops the fade and the 300 ms wait for it
- Behavior change: Escape before the bubble appears reaches the page, was swallowed; still drops the bubble
@xidedix
xidedix merged commit 3610ea6 into v5.7 Nov 26, 2026
9 checks passed
@xidedix
xidedix deleted the feat/tooltip-delay-animation branch November 26, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant