stevenbenner/jquery-powertip

Uncaught TypeError: Cannot read property 'data' of null

Open

#169 ouverte le 27 juil. 2018

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (144 forks)batch import
BugHelp Wanted

Métriques du dépôt

Stars
 (820 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I'm running powertip 1.3.1 and got the following exception:

jquery.powertip.js:964 Uncaught TypeError: Cannot read property 'data' of null
    at hideTip (jquery.powertip.js:964)
    at showTip (jquery.powertip.js:855)
    at HTMLDivElement.queueTipInit (jquery.powertip.js:829)
    at Function.dequeue (js_thirdp_libs.js:20)
    at HTMLDivElement.r.complete (js_thirdp_libs.js:20)
    at l (js_thirdp_libs.js:20)
    at Object.fireWith [as resolveWith] (js_thirdp_libs.js:20)
    at a (js_thirdp_libs.js:20)
    at v.fx.tick (js_thirdp_libs.js:20)

This was occuring while I was hovering over something with a powerTip, and an event comes in which causes another powerTip to open. It's not entirely consistent, and I believe it has todo with the opening and closing state of the hovered powertip.

As shown in the debugger below, it looks like isTipOpen is true, and it isn't closing, but activeHover is null.

image

Guide contributeur