ngx-hm-carousel icon indicating copy to clipboard operation
ngx-hm-carousel copied to clipboard

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

Open harellevy opened this issue 5 years ago • 1 comments

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

harellevy avatar Mar 18 '19 13:03 harellevy

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?

ZouYouShun avatar Mar 19 '19 06:03 ZouYouShun