Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个自定义水平滚动条来翻页/滑动图形和图例。在您使用 Chrome 中的“查找”功能之前,一切正常。如果关键字位于当前未显示的图例中,Chrome 会滑动父 DOM 元素以将突出显示的关键字显示在视图中。当它这样做时,我所有的滚动控件都会被丢弃,因为在元素位置更新时,HTML 不会反映偏移量。
有没有人遇到过这个问题?
正常位置:
铬偏移破损
我能想到的两个选择。
如果您发布演示,我们也许可以做更多。