Skip to content

Overlay looks like a blur #523

Open
Open
@sungik-choi

Description

현재상황

가끔 오버레이가 흐려보이는 경우가 있음.

재현 방법

오버레이의 transform 이 소수점으로 들어가게 되면, 안티앨리어싱때문에 흐릿해보이는 현상이 발생하게 됨.

기대한 동작

흐릿해지면 안됨. 즉, 소수점으로 위치가 지정되면 안됨.

실제 동작

위에서 설명. 현재 Overlay가 getBoundingClientRect를 사용해서 위치를 계산하고 있기 때문인데, 이를 offset 속성으로 변경해서 Integer로 위치를 계산하도록 하면 흐릿해보이는 현상이 사라질 거로 예상함.

Reference

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to anything that isn't workingstatus:pendingIssue or PR that is now pending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions