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

Tipsy forcing "Update layer Tree" #191

Open
leosteets opened this issue Mar 22, 2016 · 0 comments
Open

Tipsy forcing "Update layer Tree" #191

leosteets opened this issue Mar 22, 2016 · 0 comments

Comments

@leosteets
Copy link

When using a lot of tipsy's in one page, chrome got really slow.
Debugging with Chrome DevTools Timeline, I saw that the cause was a excessive use of "Update Layer Tree", and the when triggering the tipsy it also cause all layers to repaint.

So I changed the prependTo(document.body) to appendTo(document.body) putting the tipsy in the end of the dom instead in the beginning, this apparently solved my issue.

I like this plugin, but maybe you sould consider improving it's performance.

Cheers.

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

1 participant