stevenbenner/jquery-powertip

Uncaught TypeError: Cannot read property 'data' of null

Open

#169 opened on 2018年7月27日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)JavaScript (820 stars) (144 forks)batch import
BugHelp Wanted

説明

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

コントリビューターガイド