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

[BUG] Text not visible for Decrypted Text animation #32

Closed
tonyantony300 opened this issue Jan 26, 2025 · 2 comments
Closed

[BUG] Text not visible for Decrypted Text animation #32

tonyantony300 opened this issue Jan 26, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@tonyantony300
Copy link
Contributor

Bug Description

  <DecryptedText
                text="Secrets"
                animateOn="view"
                revealDirection="center"
              />

Doing this reserves space on the DOM but text is not showing off. I am using tailwind version of the code

Solution: remove the relative positioning from

className={`inline-block whitespace-pre-wrap relative ${parentClassName}`}

Screenshots

Image

@tonyantony300 tonyantony300 added the bug Something isn't working label Jan 26, 2025
@DavidHDev
Copy link
Owner

@tonyantony300 feel free to open a PR with any fixes you consider beneficial

@DavidHDev
Copy link
Owner

Fixed in #38

Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants