本文介绍了CSS溢出中断对Galaxy Tab的单击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我觉得我失去了一些东西根本。

I feel like I am missing something fundamental.

三星的Galaxy Tab 10.1(可能会在其他Andoid设备上的Tru - 不知道)
海豚或内置的默认浏览器
具有溢出样式任何块元素:自动或溢流-Y自动,得到一个垂直滚动条会导致div来像它甚至不是一个孩子被点击时的事件树

Samsung's Galaxy Tab 10.1 (might be tru on other Andoid devices - not sure)Dolphin or built-in 'default' browserAny block element styled with overflow: auto or overflow-y auto, to get a vertical scrollbar causes that div to act like it isn't even in the event tree when a child is clicked.

例如。我有这样的事情:

For example. I have something like this:

<div id="a">
    <ul>
        <li>one</li>
        <li>two</li>
    <ul>
</div>

如果UL是风格有溢出:汽车,然后点击一或二触发事件上#A - 就好像在UL /李的甚至是不存在的。在纵向模式下一切都很好。我可以从字面上倾斜平板90度,使其工作,使其失败,等等。

If ul is styled to have overflow:auto then clicking on 'one' or 'two' fires the event on #a - it's as if the ul/li's aren't even there. In portrait mode all is well. I can literally tilt the tablet 90 degrees to make it work, make it fail, etc.

我还需要在小提琴手简化这一点,但你可以去这里看看效果:

I still need to simplify this in fiddler but you can see the effect by going here:

由于它是这两个浏览器必须是我的问题!?!

Since it is both browsers it must be my problem!?!

任何想法?

推荐答案

这似乎是对的

这篇关于CSS溢出中断对Galaxy Tab的单击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 19:16