Commit 74905a3
Fix product tour selector picker and no-match fallback
Picker (GleapAdminHelper): walk up to 3 ancestors looking for
`data-gleap-tour` so a click on an inner icon/span inside a tagged
wrapper still picks the wrapper's selector instead of falling through
to a class-based unique() selector. Bounded so a high-level layout
wrapper carrying the attribute can't hijack unrelated descendant
clicks.
Runtime (GleapTours): when a step declared a selector but it can't be
resolved after the 5s retry window, fail the tour cleanly via
onElementNotFound (fires productTourQuit) and warn in console, instead
of silently re-anchoring the popover to a hidden dummy element at the
center of the screen. The dummy-element fallback is preserved for
legitimate "info" message steps that have no selector at all.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 03d45c1 commit 74905a3
12 files changed
Lines changed: 32 additions & 16 deletions
File tree
- build
- browser
- cjs
- esm
- published
- 16.0.4
- latest
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments