Skip to main content
Haowei
Mar 7, 2023 8:26 AM UTC
Question

Error: Two rectangles with same property but look different

It seems that I have created two rectangles with exactly the same style property, but they look different. Even copying & pasting the style can’t solve this problem.

This topic has been closed for replies.

5 replies

tank666
Mar 7, 2023 8:31 AM UTC

Make sure there isn’t another rectangle below the right rectangle.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Haowei
HaoweiAuthor
Mar 7, 2023 8:42 AM UTC

Sure, only 2 rectangles in the frame.

Stephane_Popout
Mar 7, 2023 6:41 PM UTC

This is incredible😂

Can you log the rectangle fills from the plugin console ? Are they really the same ?
What happens if you change the color and set it back ? Or if you duplicate one of them ?

steventraaan
New Participant
Mar 7, 2023 8:48 PM UTC

Are both of the inspected css styles the same for both of the rectangles?

It’s interesting because the rectangle on the right looks exactly like if you had 2 rectangles with 40% opacity stacked right on top of each other.

Haowei
HaoweiAuthor
Mar 8, 2023 9:01 AM UTC

I’m not sure what happened to my poor rectangles, but they do look same in Inspect Mode.