usablica / intro.js

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

Incorrect positioning of hint #2026

Open harlamenko opened 8 months ago

harlamenko commented 8 months ago

Description

Incorrect positioning of hint

Expected Behavior

The hint is positioned on the side where there is enough space for it.

Actual Behavior

The hint is positioned incorrectly, it is displayed on top despite the fact that there is not enough space for it.

Errors and Screenshots (optional)

Even in the demo, the hint at the third step goes out of view. It seems to me that the problem may be that the calculation of the hint position occurs earlier than necessary (before scrolling to the element occurs) image

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.