Community forum for knowledge and support

Updated last year

Duplicate class names when copying components

At a glance

Hey ,

Not sure if this is a known problem or has previously been addressed, but every time I copy a component, it makes a duplicate class with the number 2 after it, so the class isn't connected to the style guide as it should be.

Is there an easy fix for this, or am I doing something wrong as its putting a lot of time into my projects?

2
P
S
H
7 comments

Hi ,
Please Turn On Class Sync Settings and see if it works.

No, its still renaming classes for me

in the Sync Mode on still it is renaming?

I jsut rename the class never found a quicker workaround

Yea sync mode its still making things like button 2,3,4 etc

Thanks for sharing Sam! We'll look into this more and see if there is any issue on our end.

cc

This happens for me too - seems to happen on the ‘button’ class and ‘margin-top’ class most often! Class Sync is on.

Add a reply
Sign up and join the conversation on Slack