fadlee / oxygen-repeater-fix

Fix duplicated IDs generated by Oxygen Repeater
22 stars 5 forks source link

Bug when using an Icon element #5

Open mikeingz opened 4 years ago

mikeingz commented 4 years ago

When we add an Icon element in the repeater, everything is messed up.

Example with a Heading inside the repeater : image

Now with the heading and an Icon : image

It's probably because the Icon element has an SVG with an ID and it kind of "break" the plugin...

Hope you can fix it :) Thx

Kuldas commented 3 years ago

@fadlee Hi, I have the same problem as the colleague above me.

I use the repeater to list products from the given category. The repeater also uses the SVG icon for "add to cart" and after activating the plugin a bug appeared. The ID is deleted and moved to class only for the first item in the repeater. If I go to the second page (/ page / 2), then the fix works again only for the first item.

For example - https://dev.pizzadipraga.cz

Can you advise me how to fix this?

Kuldas commented 3 years ago

@mikeingz Did you manage to fix this bug? If so, could you advise me how?