usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.69k stars 2.59k forks source link

Please fix the wrong position bug when the elements are in iframe #1979

Closed Hyperionlucky closed 11 months ago

Hyperionlucky commented 11 months ago

Description

When the element to be guided is in an iframe, the position of the element is shifted, and this bug needs to be fixed.

binrysearch commented 11 months ago

Please try the latest version and let me know if you're still experiencing the same issue.

Hyperionlucky commented 11 months ago

OfCourse, there is the same issue, resulting from that the point of reference of the elements in iframe differs from the elements in the main window when using get boundingClientRect() method.