You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying position: 'bottom-align-middle' for a step, the tooltip often ignores the setting and appears on the left side of the element (or elsewhere), instead of centered below as expected.
Steps to Reproduce:
Create a step like:
{
element: '#my-element',
intro: 'This is a test tooltip.',
position: 'bottom-align-middle'
}
Run introJs().start();
Observe the tooltip placement.
Expected Behavior:
The tooltip should appear directly beneath the target element, centered horizontally (middle aligned).
Actual Behavior:
The tooltip is often placed on the left, or some other unrelated position. This happens even when there's sufficient space below the element for proper placement.
Notes:
Tried with latest Intro.js version.
Happens regardless of scrollToElement or scrollTo: 'tooltip' settings.
Other positions (like 'bottom' or 'top') behave as expected.
The text was updated successfully, but these errors were encountered:
When specifying position: 'bottom-align-middle' for a step, the tooltip often ignores the setting and appears on the left side of the element (or elsewhere), instead of centered below as expected.
Steps to Reproduce:
{
element: '#my-element',
intro: 'This is a test tooltip.',
position: 'bottom-align-middle'
}
Expected Behavior:
The tooltip should appear directly beneath the target element, centered horizontally (middle aligned).
Actual Behavior:
The tooltip is often placed on the left, or some other unrelated position. This happens even when there's sufficient space below the element for proper placement.
Notes:
The text was updated successfully, but these errors were encountered: