Undo action does not respect component instance dimensions

Paste(ing) to Replace anything that includes a component instance with an override, and then undo, the position of that instance will be incorrect.

To reproduce:


This is about components and the resultant change in width or height of instances that have text overrides. To reproduce, you must use a component instance with a text override (e.g. a button). Then…

  • Position instance differently in an alt of something (B)
  • Copy original thing (A) and Paste to Replace over alt (B)
  • Undo

The position difference from where it should be reverted to (center) is half the increase in width from the main component. It seems the undo action is based on the original width of the component before an override (i.e. before its width changed). This also occurs with height differences as well.

See video of this (Edit menu in use to show actions):

Hi @IraX I’ve tried recreating this following the steps you’ve outlined in the video but are unable to recreate it on my end. Can you possibly try clearing your desktop cache to see if this helps improve? You can find this under Help > Troubleshooting > Clear Cache and Restart.

@Ryan_52 — It’s still the same. Make sure you’re using a component that has a text override. As I explained, the undo is being performed based on the width of the original/main component.

This is about components that have text overrides, it won’t be reproduced with just a standard frame, shape, etc.

Thank you for the clarification, would you mind reaching out to the support team directly via this form for help: https://help.figma.com/hc/en-us/requests/new

Be sure to use your Figma account email, include these links to the file, and share it with support-share@figma.com so they can take a closer look.

@Ryan_52 — Help me understand this process. So this forum is not the proper manner of reporting bugs? I would have just submitted a request via the Help Center to begin with, as it’s kind of a waste of time to have to do it twice.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.