Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add Scrolling Effect to large Text! #232

Open
JaiS99 opened this issue Jul 19, 2023 · 2 comments
Open

[FEAT] Add Scrolling Effect to large Text! #232

JaiS99 opened this issue Jul 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@JaiS99
Copy link

JaiS99 commented Jul 19, 2023

Is your feature request related to a problem? Please describe.
When the Sentence is very long and the min-width is not set to a very long width to match, and the text is centre, it will cut off.

Describe the solution you'd like
Text should be able to overflow, sort of like a marquee scroll, that way one can retain the min-width to be smaller, without compromising the visibility of the text! So the text that has been rendered can be pushed back and new text is visible!

Describe alternatives you've considered
Making the width larger.
Additional context
Add any other context or screenshots about the feature request here.

@JaiS99 JaiS99 added the enhancement New feature or request label Jul 19, 2023
@JaiS99 JaiS99 changed the title [FEAT] [FEAT] Add Scrolling Effect to large Text! Jul 19, 2023
@DenverCoder1
Copy link
Owner

DenverCoder1 commented Jul 19, 2023

I don't think solution is very feasible to implement because the width of the text can't be calculated by the SVG (if it could, I would just make the width dynamically calculated). Since the width of the text is unknown, it can't be determined when the marquee should be in effect unless the user also provides the width of text as a parameter, but this kind of defeats the purpose because if the user provides the width of the text then it could just enlarge the image to that width (which is what it currently does) and it would look better anyway.

@JaiS99
Copy link
Author

JaiS99 commented Jul 19, 2023

Then I don't think this is possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants