Skip to content

[Bug Report]avatar组件一个神奇的缩放110%的bug #116

@zengzhongying

Description

@zengzhongying

Environment

谷歌浏览器,缩放比例调整至110%

Reproduction link

https://www.iviewui.com/components/avatar

Steps to reproduce

谷歌浏览器,缩放比例调整至110%,刷新页面,出现卡死,包括官网也出现卡死状况

What is expected?

https://www.iviewui.com/components/avatar 页面调整缩放至110% 刷新页面 整个页面卡死,性能差的电脑会导致谷歌浏览器崩溃。

What is actually happening?

页面不出现卡死现象


iview/iview#3123 (comment) 这个bug有人提过,不过可能那个提bug的人自己都不知道为什么会出现这种情况,这种情况在小屏电脑,在分辨率的影响下,谷歌浏览器可能会带有一定的缩放,缩放比例为110%的时候,造成页面卡死。 (ps:这个bug由我们的产品经理发现,她是小屏笔记本,每次进入我们的做的一个产品页面,就导致了整个浏览器的卡死,然后我们开发找了好久才找到了复现场景以及真正的原因)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions