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

require('@vueform/slider/tailwind') breaks TailwindCSS disabled classes #67

Closed
andorfermichael opened this issue Oct 20, 2022 · 2 comments

Comments

@andorfermichael
Copy link

andorfermichael commented Oct 20, 2022

When I add require('@vueform/slider/tailwind') to the tailwind.config.js it somehow overrides the disabled styles defined by TailwindCSS. Thus disabled: styles are not applied correctly anymore on other UI elements, e.g.

    <button
        type="button"
        :disabled="disabled"
        class="disabled:cursor-not-allowed disabled:opacity-50"
        :class="[$attrs.class, $attrs.staticClass, categoryClasses, sizeClasses]"
    >
        <span>{{ text }}</span>
    </button>

Button is not styles as disabled any more (no not allowed cursor and no opacity)

@andorfermichael andorfermichael changed the title require('@vueform/slider/tailwind') breaks require('@tailwindcss/forms') disable property require('@vueform/slider/tailwind') breaks require('@tailwindcss/forms') disabled property Oct 20, 2022
@andorfermichael andorfermichael changed the title require('@vueform/slider/tailwind') breaks require('@tailwindcss/forms') disabled property require('@vueform/slider/tailwind') breaks TailwindCSS disabled classes Oct 20, 2022
@singhinderpal
Copy link

+1 - I am also facing this.

@adamberecz
Copy link
Collaborator

Duplicate #48

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

3 participants