Skip to content

Tipsy forcing "Update layer Tree" #191

@leosteets

Description

@leosteets

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions