Skip to content

Conversation

@moddi3
Copy link

@moddi3 moddi3 commented Jul 2, 2025

Problem

This PR addresses the tooltipClass override issue discussed in #2105. In version 8.2.0-beta.1, individual step tooltipClass options fail to apply and override the global tour tooltipClass setting.

Solution

Partially fixes #2105
Fixed the tooltipClass precedence logic to ensure step-level options properly override tour-level settings.

Testing

Confirmed individual step tooltipClass options now take precedence over global tour settings
Verified HTML content renders correctly in Safari (resolving the 7.2.0 Safari issue)
Tested cross-browser compatibility

Additional Context

While this fix is targeted at 8.2.0-beta.1, it also provides a relatively working alternative to the broken 7.2.0 version. Version 7.2.0 has a Safari-specific bug where users cannot see steps beyond the first one when using HTML content, but in 8.2.0-beta.1 steps with HTML content are working correctly.

Question for Maintainers

Since v8 is still in beta and many users are likely still on the stable 7.2.0 release, would it make sense to create a patch release (7.2.1) specifically for the Safari HTML content rendering bug? This would allow production users to get a stable fix without having to adopt a beta version. I'd be happy to prepare a separate PR targeting the 7.2.x branch if you think this approach would be valuable for the community. But i am unsure how to make aa PR from a 7.2.0 version since master branch is at 8,2,0-beta-1

@vercel
Copy link

vercel bot commented Jul 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
intro-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2025 8:53pm

@moddi3
Copy link
Author

moddi3 commented Jul 2, 2025

Size Change: +23 B (+0.04%)

Total Size: 51.6 kB

Filename Size Change
dist/intro.js 17.4 kB +7 B (+0.04%)
dist/intro.module.js 16.9 kB +8 B (+0.05%)
dist/minified/intro.min.js 17.4 kB +8 B (+0.05%)

compressed-size-action

@moddi3
Copy link
Author

moddi3 commented Jul 2, 2025

@Parvinmh @Faryad8

@binrysearch binrysearch merged commit 3471c05 into usablica:master Jul 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback for “Tour without buttons” - doesn't work in Safari

2 participants