Repository navigation
feat(ui5-tooltip): add enhanced visual tooltip component - #14248
Draft
alexandar-mitsev wants to merge 9 commits into
Draft
alexandar-mitsev wants to merge 9 commits into
alexandar-mitsev wants to merge 9 commits into
Conversation
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 2, 2026 09:45 — with
GitHub Actions
Inactive
Sample sync reminderHTML sample changed but React sample (
Please keep both samples in sync, or ignore if the change does not apply to both. |
|
🚀 Deployed on https://pr-14248--ui5-webcomponents-preview.netlify.app |
alexandar-mitsev
marked this pull request as draft
November 2, 2026 10:06
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 5, 2026 15:49 — with
GitHub Actions
Inactive
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 6, 2026 10:58 — with
GitHub Actions
Inactive
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 9, 2026 09:09 — with
GitHub Actions
Inactive
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 10, 2026 07:53 — with
GitHub Actions
Inactive
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 10, 2026 10:53 — with
GitHub Actions
Inactive
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 23, 2026 12:20 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 23, 2026 12:47 — with
GitHub Actions
Failure
alexandar-mitsev
force-pushed
the
tooltip-component
branch
from
November 23, 2026 13:59
d5764c0 to
0520106
Compare
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 23, 2026 13:59 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 23, 2026 14:22 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:19 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:34 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:37 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:41 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:42 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:43 — with
GitHub Actions
Failure
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 24, 2026 07:46 — with
GitHub Actions
Failure
ilhan007
had a problem deploying
to
netlify-preview
November 26, 2026 09:00 — with
GitHub Actions
Failure
alexandar-mitsev
force-pushed
the
tooltip-component
branch
from
November 30, 2026 10:32
b467471 to
aad6d22
Compare
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 30, 2026 10:32 — with
GitHub Actions
Failure
alexandar-mitsev
force-pushed
the
tooltip-component
branch
from
November 30, 2026 10:43
aad6d22 to
fa376c5
Compare
alexandar-mitsev
had a problem deploying
to
netlify-preview
November 30, 2026 10:43 — with
GitHub Actions
Failure
Introduce `<ui5-tooltip>`, a framework-agnostic visual tooltip that an element opts into via `data-ui5-has-tooltip="<id>"` (gestures) and `aria-describedby="<id>"` (accessible description). The host is a manual popover (UA `display:none` when closed, top layer when shown) that wraps an inner `ui5-popover` for the bubble; opening is delegated through shared document-level listeners resolving openers via `event.composedPath()`. Migrate existing title-based tooltips (Button, Link, Switch, Icon, RatingIndicator, SegmentedButtonItem, ColorPaletteItem, FileUploader, Breadcrumbs, Carousel, AvatarBadge, Title, InputIcon) to the new component, preserving each component's accessibility wiring (aria-description / aria-label as appropriate; no double-announcement). Includes Cypress specs (unit, delegation, visual), test pages, and website samples.
alexandar-mitsev
force-pushed
the
tooltip-component
branch
from
November 30, 2026 10:58
fa376c5 to
8fedf97
Compare
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 30, 2026 10:58 — with
GitHub Actions
Inactive
Update badge-tooltip assertions to check the delegated aria-label and data-ui5-has-tooltip on the icon root instead of the native title attribute, matching the tooltip delegation model.
alexandar-mitsev
temporarily deployed
to
netlify-preview
November 30, 2026 14:26 — with
GitHub Actions
Inactive
Tabbing onto an opener opened its tooltip, but the next Tab bounced focus back to the opener. The tooltip renders into a ui5-popover, and two mechanisms in the shared Popup kept focus on the opener: - the popover's focus-trap sentinels (first-fe/last-fe) sit in the tab order, and the empty trap forwards focus back to the root; and - closePopup restores focus to the element focused before opening (the opener) when the tooltip closes on tab-out. A tooltip is non-interactive, so it must stay out of the tab order and never restore focus. Gate the trap sentinels behind a new private Popup.preventFocusTrap flag and set it, together with the existing preventFocusRestore, on the tooltip's popover. Also mark Tooltip._open noAttribute so the private flag stops leaking an _open attribute.
alexandar-mitsev
temporarily deployed
to
netlify-preview
December 1, 2026 07:32 — with
GitHub Actions
Inactive
Opening the tooltip promotes its popover to the top layer, which makes the browser re-hit-test and fire a mouseout on the still-hovered opener even though the pointer never moved. The delegation treated that stray mouseout as a leave and scheduled a close, producing an open/close flicker that could leave the tooltip stuck closed on the next hover. onMouseOut now ignores a mouseout whose coordinates still fall within the opener's box (rect containment is reliable where relatedTarget and elementFromPoint are not). The tooltip popover is also set pointer-events:none so it never perturbs the opener's hover hit-testing.
alexandar-mitsev
temporarily deployed
to
netlify-preview
December 1, 2026 08:37 — with
GitHub Actions
Inactive
…truncation, mobile)
…-out - Make the tooltip bubble pointer-interactive and its text selectable; the delegation bridges the opener and its bubble as one hover region so moving onto the bubble keeps it open (and does not flicker or get stuck closed). - Clamp the text to the viewport (max-width min(17rem, 100vw - 2rem), capped height with scroll) so long text never overflows a small screen. - Add a public preventOnTouch property so openers like links keep their native touch menu instead of opening the tooltip on long-press. - Expand the standalone demo page (plain elements only: buttons, title, link, long text, all placements) and add Basic/Placements website samples.
alexandar-mitsev
temporarily deployed
to
netlify-preview
December 1, 2026 12:12 — with
GitHub Actions
Inactive
Cap the tooltip text to the viewport and to a line count, clipping the overflow with an ellipsis (overflow:hidden + line-clamp) rather than making the bubble scroll. Add demo cases (long text, huge multi-paragraph text, unbreakable word) and a regression test asserting the text does not scroll and stays within the viewport.
alexandar-mitsev
temporarily deployed
to
netlify-preview
December 1, 2026 12:52 — with
GitHub Actions
Inactive
Mirror OpenUI5's TooltipEventTrigger behavior: - Do not dismiss the tooltip on a mousedown inside its bubble, nor when a text selection is anchored in the opener or bubble, so desktop copy-from-tooltip works and selecting text does not open/close the tooltip. - On touch, suppress native text selection / iOS callout on the opener so a long-press opens the tooltip; openers that opt out of touch keep their native menu, and the context menu is blocked for text openers but allowed for them. - Apply the touch suppression as inline styles on the opener (saved/restored) rather than a global CSS class, so it works for an opener in any root - light DOM or deep in a shadow root. - Rework the demo page: distinct button/title/link styling and an activation toast so activation is distinguishable from the tooltip.
alexandar-mitsev
temporarily deployed
to
netlify-preview
December 1, 2026 13:31 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new enhanced
ui5-tooltipweb component — a visual, SAP Fiori–styled tooltip that wraps the popover and supersedes the nativetitleattribute.What's included
TooltipcomponentTooltip.ts.data-ui5-has-tooltipattribute which connects the invoker to the tooltip.