AristideBH / Marqueeck

Marqueeck is a full-featured marquee component for Svelte, flexilble, style-free & highly customizable
https://marqueeck.vercel.app
16 stars 0 forks source link

Vertical Marquee #3

Open ermincelikovic opened 5 months ago

ermincelikovic commented 5 months ago

Hey Aristide, great job with the library! Love it, very well documented :)

I was wondering if it would be possible to have an option to have vertical direction of the movement (from up to down, or other way around).

Thanks!

tekigg commented 3 months ago

1+

AristideBH commented 3 months ago

Hello, sorry for the delay time ! I am not sure the exact behaviour you are both talking about. Is this mockup represent what you mean ?

Capture_2024-04-24_11-21-00

Is that is the case, that would raises many questions :

Since I almost accomplished everything I needed personnaly, I am not sure I'll make all of this possible. Tell me what you think about it ?

tekigg commented 3 months ago

Hi! No worries at all. Thank you for responding!

That’s not quite what me and I assume @ermincelikovic were referring to, more of a singular column that transforms on the y axis instead of x. You can find an example of it on the “Vertical” section of https://svelte-marquee.vercel.app/

Your module is feature packed and I love every bit of it, thanks for making it and I’d love to see this feature make it in!

AristideBH commented 3 months ago

Ok, thanks for clarification on desired behaviour ! Just looked at their implementation, and they are using CSS animations to handle the sliding effect, while I use JS to take into account custom props, smooth stop, event handlers etc.

I'll try and look for a workaround without a complete refactoring of the logic ! I am thinking about simple CSS rotation for the main element and the opposite for the content. I'll let you both know if I am getting somewhere.

Thanks for your support and kind words anyway !

ermincelikovic commented 3 months ago

Hi there!

I basically implemented it here: https://visual.help/

heyepeng commented 1 month ago

Hi there!

I basically implemented it here: https://visual.help/

Please share how you achieved this,thx!