Text Marquee Bug in Compose Desktop

63 views Asked by At

I'm using compose desktop and i want to use basicMarquee() on a long text with a normal Text() and RTL layout.

but it isn't showing correctly:

  1. Text isn't start from beginning (این یک متن طولانی با قابلیت جابجایی است)
  2. Text disappear for few seconds when it reach the start of text

My Text:

Text(
    maxLines = 1,
    text = "این یک متن طولانی با قابلیت جابجایی است",
    modifier = Modifier
        .fillMaxWidth()
        .basicMarquee()
)

My result:

enter image description here

i tried any initialDelay, MarqueeSpacing(), textAlign, textDirection, LayoutDirections and ... , but it didn't work.

0

There are 0 answers