Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed elements with helper attached have duplicate introjs-fixedTooltip classes on window resize #713

Closed
markball99 opened this issue May 26, 2017 · 1 comment

Comments

@markball99
Copy link

When the tooltip is attached to a fixed element the class 'introjs-fixedTooltip' is appended to the helper layer class in function _setHelperLayerPosition.
When the window is resized many of these classes are appended. The offending line is
helperLayer.className += ' introjs-fixedTooltip';
which blindly adds without checking if its already there. Seems the same behavior is happening to the reference layer but cant see how that is happening.

@afshinm afshinm closed this as completed in 3d5a6b8 Oct 8, 2017
@siddheshthipse
Copy link

siddheshthipse commented Oct 8, 2022

Not able to interact with those elements having property as position:fixed

Although I am able to interact if I change it to position:absolute

In case of fixed elements there is this class introjs-fixedTooltip that automatically gets added I dont want that

This is because I want the user to click on the content of my side navigation which I am highlighting using introjs and it cannot be absolute

What is the solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants