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

TODO: hide tooltips on page scroll #2

Open
ihadeed opened this issue Jul 5, 2017 · 2 comments
Open

TODO: hide tooltips on page scroll #2

ihadeed opened this issue Jul 5, 2017 · 2 comments
Milestone

Comments

@ihadeed
Copy link
Member

ihadeed commented Jul 5, 2017

No description provided.

@ihadeed ihadeed added this to the 1.2.0 milestone Jul 6, 2017
@ihadeed ihadeed modified the milestones: 2.1.0, 1.2.0 Sep 11, 2017
@lukasstaecker
Copy link

I have a (hacky) workaround for this. Add (ionScroll)="hideTooltips()" to your ion-content tag. Then define function:
hideTooltips() { let elements = document.getElementsByTagName("tooltip-box"); for(var i =0, il = elements.length;i<il;i++){ elements[i].className += " hidden"; } }
And in your css, add:
tooltip-box.hidden { display: none !important; }

@jrquick17
Copy link

I have started a new project for this and am adding this to v1.0.0.

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

No branches or pull requests

4 participants