Skip to content

Enable pausing/resuming MarqueeText #505

Open
@Arlodotexe

Description

@Arlodotexe

From #426:

Hi, I'm using this control in my project currently,
I want to implement a feature that when the pointer entered the text start animation,
and when pointer exited, the text should be re-placed at the very begin place.
is there any way to programmatically achieve this? Or should this be a feature request?

Originally posted by @Lightczx in #426 (comment)


The resume parameter is for when the speed or control size changes while the animation is running. It is not supposed to be used for pausing or resuming the animation.

In design I intended for the Marquee to not play until StartMarquee is called. This is not the behavior because of line 56 is MarqueeText.Events link, which automatically begins the animation when the container size is changed. I should have left this behavior up to the user.

@Arlodotexe Should I release a patch? It's a technically a small breaking change.

Originally posted by @Avid29 in #426 (comment)


This is a reasonable scenario to support for MarqueeText. We should look into implementing pause/resume functionality.

Metadata

Metadata

Assignees

Labels

enhancementImprovement to an existing featureexperiment 🧪Used to track issues that are experiments (or their linked discussions)help wantedExtra attention is neededlabs 🧪

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions