stevenbenner/jquery-powertip

Uncaught TypeError: Cannot read property 'data' of null

Open

#169 创建于 2018年7月27日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (820 star) (144 fork)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

贡献者指南