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

"ghost-class" attribute does not work as an alias for "ghostClass" #558

Closed
xPaw opened this issue Mar 4, 2019 · 5 comments
Closed

"ghost-class" attribute does not work as an alias for "ghostClass" #558

xPaw opened this issue Mar 4, 2019 · 5 comments

Comments

@xPaw
Copy link

xPaw commented Mar 4, 2019

If you use this eslint rule: https://eslint.vuejs.org/rules/attribute-hyphenation.html then it forces the ghostClass attribute to become ghost-class and it stops working. ghostclass does not work either.

I can see this being a problem for other users too.

@David-Desmaisons
Copy link
Member

Check issue #555

@xPaw
Copy link
Author

xPaw commented Mar 4, 2019

I guess v-bind="{ghostClass}" can work, but that feels like a hack.

@David-Desmaisons
Copy link
Member

`v-bind="{ghostClass:'my-class'}"

Doesn't feel like a hack.
That said I think I can fix the problem in the next release. Stay tuned.

David-Desmaisons added a commit that referenced this issue Mar 5, 2019
@David-Desmaisons
Copy link
Member

Corrected in version 2.19,1

@Akash187
Copy link

Akash187 commented Oct 28, 2019

Still, have problem. In the dom, the class is not getting applied.

<draggable ghostClass="boards" v-model="orderedList">
      <transition-group>
        <List v-for="list in orderedList" :key="list.id" :id="list.id" :title="list.title"/>
      </transition-group>
    </draggable>

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