Skip to content

Fails on reading tagName of undefined. #645

@danielgindi

Description

@danielgindi

Tooltipster fails on this line:

https://github.com/iamceege/tooltipster/blob/09bac138723db25eb00635f87104f1aab0038220/dist/js/tooltipster.core.js#L928

When using in a virtual scrolling container.
Which means that it is rapidly initiated and destroyed on row elements as the user scrolls.
It appears that if the mouse is over the row with the tooltips while scrolling with the mousewheel - the tooltip starts initiating, adds the element to the DOM for measuring, gets destroyed, and then reaching that line of code where it traversed to the parent but has no parent.

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