MarcelGarus / marquee

A Flutter widget that scrolls text infinitely. Provides many customizations including custom scroll directions and velocities, pausing after every round and specifying custom durations and curves for accelerating and decelerating.
MIT License
274 stars 113 forks source link

Pause After Round and number of rounds not working in vertical scroll #68

Open jijo0465 opened 3 years ago

jijo0465 commented 3 years ago

The properties numberOfRounds and pauseAfterRound is not working when the scrollAxis is Axis.vertical. Here's my code:

Marquee(
text:  '''This will be very long descriptiondescri ptiondescription escriptiondescripti ondescriptionde scriptiondescr iptiondescription of the product. The desciption is tappable and scrollable.his will dsafoiu dsaf iads fjdis fadsjfidsif isdfidsaifdisfifiafaif hidahfidshia fhiidashfihdsifh''',
  scrollAxis: Axis.vertical,
  style: FestevesTextStyles.festevesBodyLight,
  textScaleFactor: 0.7,
  velocity: 25,
  showFadingOnlyWhenScrolling: true,
  crossAxisAlignment: CrossAxisAlignment.start,
  startAfter: Duration(seconds: 3),
  numberOfRounds: 3,
  fadingEdgeEndFraction: 0.8,
  fadingEdgeStartFraction: 0.2,
  blankSpace: 12,
  pauseAfterRound: Duration(seconds: 30),
),
zzdota commented 2 years ago

The properties numberOfRounds and pauseAfterRound is not working when the scrollAxis is Axis.vertical. Here's my code:

Marquee(
text:  '''This will be very long descriptiondescri ptiondescription escriptiondescripti ondescriptionde scriptiondescr iptiondescription of the product. The desciption is tappable and scrollable.his will dsafoiu dsaf iads fjdis fadsjfidsif isdfidsaifdisfifiafaif hidahfidshia fhiidashfihdsifh''',
  scrollAxis: Axis.vertical,
  style: FestevesTextStyles.festevesBodyLight,
  textScaleFactor: 0.7,
  velocity: 25,
  showFadingOnlyWhenScrolling: true,
  crossAxisAlignment: CrossAxisAlignment.start,
  startAfter: Duration(seconds: 3),
  numberOfRounds: 3,
  fadingEdgeEndFraction: 0.8,
  fadingEdgeStartFraction: 0.2,
  blankSpace: 12,
  pauseAfterRound: Duration(seconds: 30),
),

same issue, when scrollAxis: Axis.vertical then number of rounds not working

HoloKobra commented 2 years ago

I have encountered the same issue

m93a commented 2 years ago

Yep, can confirm this is an issue.