stevenbenner/jquery-powertip

Uncaught TypeError: Cannot read property 'data' of null

Open

#169 aberto em 27 de jul. de 2018

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (144 forks)batch import
BugHelp Wanted

Métricas do repositório

Stars
 (820 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador