intro.js icon indicating copy to clipboard operation
intro.js copied to clipboard

IntroJS Tooltip Not Displaying Correctly on iOS 18

Open locmaymo opened this issue 1 year ago • 14 comments

Description:
I'm encountering an issue with IntroJS tooltips not displaying correctly on iOS 18. I tested this using an iPhone 14 Pro Max to view my website, which uses IntroJS. The first tooltip appears as expected, but when it moves to step 2, the tooltip does not display. I also tested this on the official demo page of IntroJS, and the issue persists there as well.

Additionally, I tested on BrowserStack with an iPhone 16 Pro Max running iOS 18, and the same behavior occurred.

This issue seems to only occur on iOS 18, as everything works fine on other platforms and iOS versions.

Steps to Reproduce:

  1. Use an iPhone 14 Pro Max running iOS 18.
  2. Access a website or the official demo page of IntroJS.
  3. Begin an IntroJS tour.
  4. Observe that the first tooltip appears correctly.
  5. Proceed to the second step, and notice that the tooltip does not show.

Expected Behavior:
The tooltips should display correctly for every step in the tour, including step 2 and beyond.

Actual Behavior:
The tooltip only appears for step 1 and does not display for subsequent steps on iOS 18.

Devices Tested:

  • iPhone 14 Pro Max (iOS 18)
  • iPhone 16 Pro Max (iOS 18) via BrowserStack

locmaymo avatar Oct 02 '24 09:10 locmaymo

I found this issue on macOS safari 18.0.1 I think it happened on mac or iphone that use safari 18

nutpun avatar Oct 08 '24 10:10 nutpun

Can you try?

//hot fix missing tooltip on IOS 18
.introjs-tooltipReferenceLayer {
    visibility: visible;
}

nutpun avatar Oct 09 '24 03:10 nutpun

Can you try?

//hot fix missing tooltip on IOS 18
.introjs-tooltipReferenceLayer {
    visibility: visible;
}

This worked for me, but I had to add !important.

Thank you!

nesha14586 avatar Oct 17 '24 13:10 nesha14586

Can you try?

//hot fix missing tooltip on IOS 18
.introjs-tooltipReferenceLayer {
    visibility: visible;
}

Thank you, this worked for me too!

SavvasMohito avatar Nov 20 '24 11:11 SavvasMohito

Can you try?

//hot fix missing tooltip on IOS 18
.introjs-tooltipReferenceLayer {
    visibility: visible;
}

This worked for me, but I had to add !important.

Thank you!

I ran into the same issue and this worked for me, thanks!

EliteXCoder1 avatar Dec 04 '24 21:12 EliteXCoder1

Hotfix works for me, thanks.

Does the hotfix break the Android version, or older versions of iOS?

WilcoVertegaal avatar Jan 02 '25 18:01 WilcoVertegaal

Hotfix works for me, thanks.

Does the hotfix break the Android version, or older versions of iOS?

I haven't seen any issues in android or older ios versions so far so i think the hotfix should be fine.

EliteXCoder1 avatar Jan 02 '25 18:01 EliteXCoder1

The hotfix CSS worked for me as well.

jcapogna avatar Feb 12 '25 21:02 jcapogna

The CSS hotfix rendered the entry fields on a Bootstrap 4 modal dialog uneditable.

Alex870 avatar Mar 10 '25 20:03 Alex870

The CSS fix prevents highlighted elements from being interactive.

AtomR avatar Mar 12 '25 14:03 AtomR

For the record, happens as well in Safari with Sequoia

luismoyano avatar May 15 '25 14:05 luismoyano

Can you try?

//hot fix missing tooltip on IOS 18
.introjs-tooltipReferenceLayer {
    visibility: visible;
}

This worked for me, but I had to add !important.

Thank you!

This hotfix worked for iOs 26 as well

skrobot avatar Aug 27 '25 06:08 skrobot

If hotfix blocks your interactive elements like inputs or google map markers just add a dummy div right before the element. The bubble will be positioned right next to the correct place.

<div class="dummy-introjs-step" id="step-C4"></div>

skrobot avatar Aug 27 '25 07:08 skrobot

The style fixed it for me too.. but @nutpun, could you explain why it works and why it is required ?

Tiitan avatar Sep 19 '25 19:09 Tiitan