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

Meiosis duplicates class with Riot 9.1.2 #31

Closed
steevepay opened this issue Jan 29, 2024 · 1 comment
Closed

Meiosis duplicates class with Riot 9.1.2 #31

steevepay opened this issue Jan 29, 2024 · 1 comment

Comments

@steevepay
Copy link

Hello,

I tried to upgrade an application to Riot 9.1.2. However, HTML classes from custom Riot components are duplicated everytime I call the function store.dispatch. Here is the result when I call one-time dispatch:

<c-button dropdown="true" class="btn input-group-btn btn input-group-btn tooltip tooltip-top dropdown-toggle dropdown-toggle"></c-button>

Result when I call two times dispatch:

<c-button dropdown="true" class="btn input-group-btn btn input-group-btn btn input-group-btn tooltip tooltip-top dropdown-toggle dropdown-toggle dropdown-toggle">

By disabling Meiosis, I got the expected result:

<c-button class="btn input-group-btn btn input-group-btn tooltip tooltip-top" data-tooltip="Show"></c-button>

Repository to replicate the issue:
https://github.com/steevepay/riot9-class-duplication

@steevepay
Copy link
Author

Fixed on Riot v9.1.3

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

1 participant