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

Repositioning Tooltip for responsive sites on window resize #533

Closed
wants to merge 6 commits into from

Conversation

roelbarreto
Copy link

For responsives site, I moved onresize function on _showElement and call on resize + _placeTooltip for repositioning on responsive sites

@@ -1,7 +1,7 @@
{
"name": "intro.js",
"description": "Better introductions for websites and features with a step-by-step guide for your projects",
"version": "2.0",
"version": "2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove this change?

Adding default position might be useful for responsive site repositioning.
Moving resize inside if conditions to get reference objects for _palceTooltip
@Kaain
Copy link

Kaain commented Sep 29, 2016

I tried to use this fix for Version 2.3.0 but unfortunately it's only working for 2.0.0. Is there any chance that this issue is fixed in the next version? Or has anyone a working fix for 2.3.0?

@afshinm
Copy link
Contributor

afshinm commented Dec 10, 2016

nice one but doesn't work properly with latest version. could you please have a look?

@afshinm
Copy link
Contributor

afshinm commented Sep 24, 2017

Fixed.

@afshinm afshinm closed this Sep 24, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants