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] touch-action classes should be considered combinable #293

Closed
timmywil opened this issue Dec 8, 2023 · 4 comments
Closed

[BUG] touch-action classes should be considered combinable #293

timmywil opened this issue Dec 8, 2023 · 4 comments
Labels
bug Something isn't working work in progress

Comments

@timmywil
Copy link

timmywil commented Dec 8, 2023

Describe the bug
A clear and concise description of what the bug is.

touch-action classes have been combinable for a couple years now, but this plugin considers them exclusive.

To Reproduce
Steps to reproduce the behavior:

  1. Use both touch-pan-x and touch-pan-y on the same element.
  2. See error

Expected behavior
No error.

Environment (please complete the following information):

  • OS: windows 11
  • Software + version used:
    • eslint-plugin-tailwindcss 3.13.0
    • tailwindcss 3.3.6

Additional context
Add any other context about the problem here.

eslint config file or live demo
By providing a link to a live demo, a demo video or a github repo fixing the issue will be easier.
https://stackblitz.com/edit/eslint-plugin-tailwindcss-edit?file=package.json

@timmywil timmywil added the bug Something isn't working label Dec 8, 2023
@timmywil timmywil changed the title [BUG] [BUG] touch-action classes are not exclusive Dec 8, 2023
@timmywil timmywil changed the title [BUG] touch-action classes are not exclusive [BUG] touch-action classes should be considered combinable Dec 8, 2023
@francoismassart
Copy link
Owner

👋 @timmywil
I made a Tailwind Play to demonstrate the different cases and it should be easily fixed in the next release.

https://play.tailwindcss.com/vJfYBye86o

@francoismassart
Copy link
Owner

Please try this beta version:

npm i eslint-plugin-tailwindcss@3.14.2-beta.1 -D

and give me feedbacks.

francoismassart added a commit that referenced this issue Feb 5, 2024
@timmywil
Copy link
Author

timmywil commented Feb 5, 2024

Looks good to me, thanks!

@francoismassart
Copy link
Owner

Fixed in the latest release eslint-plugin-tailwindcss@3.14.2

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

No branches or pull requests

2 participants