Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
4.83k
stars
418
forks
source link
fix(Move): round "translate" destination to prevent problems around images #1264
Open
honey32 opened 8 months ago
Related Issues
fixes #1125
Description
Move.translate() use to make track element translate into position with sub-pixel fragment (e.g.
translateY(-200.14px)
)It causes browsers render image-like contents problematically; #1125 says "renders blurry", I found gaps between two adjacent image slides.
rounding the position will solve this problem.