long7181226 / compatibility-detector

Automatically exported from code.google.com/p/compatibility-detector
Apache License 2.0
0 stars 0 forks source link

Page cannot be scrolled #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open http://www.tianya.cn/techforum/articleslist/0/169.shtml
2. Click the extension button

What is the expected output?
2.1 The page should function as normal.

What do you see instead?
2.1 The page cannot be scrolled with hint on.

What version of the product are you using? On what operating system?
Win7 + Chrome 10.0.607.0 canary build

Please provide any additional information below.

Original issue reported on code.google.com by markhu...@google.com on 14 Dec 2010 at 11:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
在 annotation.js 中,函数 showAnnotations 每隔 300 ms 调用一次 
refreshAnnotations 函数,refreshAnnotations 函数内使用 showBalloon 
方法将 balloonDiv 的 top 值定位到新位置,这样可以解决某些 
position 元素内元素被报错,但此 position 
元素根据滚动条位置定时,当滚动条位置变化,balloonDiv 
块定位不准的情况。

问题页面中,左侧的 DIV[id=leftNav] 元素是 position : fixed 
定位,其中的内容超出视口显示范围,产生滚动条。他的内��
�中有兼容性问题纯在,被标记了 
balloon,当页面滚动条滚动时,左侧的 DIV[id=leftNav] 
相对视口位置不变,但是这些 balloon 重新定位 top 
后,他们的 top 值已经加上了上次滚动的 scrollTop 。srollHeight 
被整体加大了,这导致页面可以无限向下滚动。

这个问题并非具体 detector 
检测文件导致,属于总体控制层业务逻辑需要修改。需要与��
�著和建宁商议如何具体修改后才能解决。

Original comment by qianbao...@beyondsoft.com on 15 Dec 2010 at 3:14