dom is as follows:
<li>
<a href="javascript:;" title=""></a>
<div class="pop">div</div>
</li>
css is as follows:
.pop {
display: none;
position: absolute;
}
li {
position: relative;
}
li:hover {
.pop {
display: block;
}
}
Under chrome:
when hover li
, div.pop
is displayed. Clicking div.pop
multiple times (not continuous fast clicks, but random clicks) may cause the div
to disappear.
Note: there is a broadcast in the div. Click the arrow inside to have a sliding effect.
personal guess:
1, click causes the mouse to lose focus and hover is invalid.
2, click elements with css3 attribute will cause hover invalidation.
this bug has a terrible headache. Can you give me a solution? Thank you!