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

Tailwind CSS Animated #80

Open
TartanLeGrand opened this issue Jan 4, 2025 · 1 comment
Open

Tailwind CSS Animated #80

TartanLeGrand opened this issue Jan 4, 2025 · 1 comment

Comments

@TartanLeGrand
Copy link

The reverse prop does not work as expected when used with components from the Spark UI library.

πŸ” To Reproduce

Steps to reproduce the behavior:

  1. πŸ› οΈ Install and import a component from the Spark UI library that supports the reverse prop.
  2. βš™οΈ Use the component in your project and set the reverse prop (e.g., <Component reverse />).
  3. πŸ‘€ Check the rendered output or functionality.
  4. 🚨 Notice that the expected behavior does not occur (e.g., elements are not reversed as intended).

βœ… Expected behavior

When the reverse prop is used, the component should behave as documented or intended, such as reversing the order or alignment of elements.

πŸ“ Additional context

⚑ I believe this issue may be caused by the incorrect or missing configuration of Tailwind CSS Animated:
https://www.tailwindcss-animated.com/

This configuration seems essential for the proper functioning of Spark UI components and should be added to the installation documentation to avoid such issues in the future.

@selemondev
Copy link
Owner

Hey there @TartanLeGrand, thanks for creating this issue. Fortunately, everything works as expected. I have created a reproduction that matches your description and here is the result: Spark-UI-Animated-Beam-Reverse-Prop-Reproduction. Here is the Github repository url. Let me know if there is anything I might be missing 😊.

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

No branches or pull requests

2 participants