Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Sticky item when using direction="toRight" #19

Open
peduarte opened this issue Apr 16, 2020 · 2 comments
Open

Sticky item when using direction="toRight" #19

peduarte opened this issue Apr 16, 2020 · 2 comments

Comments

@peduarte
Copy link

Hey @AndreasFaust

Thanks for putting this neat little library together. Im finding it super useful.

I'm prototyping something and I've created to strips of content using react ticker. One of them animates to the left and one to the right

Here's a Codesandbox: https://codesandbox.io/s/react-ticker-bug-igjc8?file=/src/App.js

image

Notice how on the second strip, the going using direction="toRight" the first item is stuck, as if it's position fixed.

It only happened when I added enough content though, so Im not really sure what is causing it.

Do you have any ideas?
I wonder if it's a calculation issue with the library or something Im doing wrong?

Many thanks!

@dhruv93
Copy link

dhruv93 commented Aug 28, 2021

Hi! I am also facing a similar issue when direction is set to right. Is there a workaround for this?
Any help is appreciated.

Thanks

@w4t3r-45
Copy link

the same issue please is there any solution ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants