Skip to content

font render issue (blurry fonts) if element has transitionX with decimal separator #20

Open

Description

@harellevy

if an active element in carousel landing in center sometimes its not pixel perfect and have decimal separator in translateX value. this causes blurry fonts in chrome.
I think it's better to round the content grab element translateX value after transition complete.
Screen Shot 2019-03-18 at 15 27 40

Activity

  1. ZouYouShun commented on Mar 19, 2019

    @ZouYouShun
    Owner

    The first problem because we using the init width to calculate the position move value. If the image size is different with loaded the position will has some pixel different, currently, you can use a tag to contain that to solve this issue, like below.

    <div>
        <component></component>
    </div>

    The second problem can you give me some example with stackblitz?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions