Skip to content

为什么源码里maskRectSize要判断是否是isSafari?全部用百分比不行吗 #88

@little077

Description

@little077

const maskRectSize = isSafari
? { width: '100%', height: '100%' }
: { width: '100vw', height: '100vh' };这段代码只是为了显示占比吗?屏幕放大缩小会导致遮罩异常?是否是有意设计或者是别的原因?如果不是,我可以提个pr吗

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