Skip to main content
Polina3
January 26, 2024

Enabling “Snap to Pixel” instantly modifies the fractional coordinates of the frames in the file

  • January 26, 2024
  • 23 replies
  • 13296 views

Hi! Can somebody explain why with “snap to pixel grid” function on in Figma, the coordinates of files are still can be fractional? It fixes when you move them, but the question is still here why it is happening? And maybe there are some ways to prevent this or fix all frames coordinates in file altogether?

23 replies

Cori_Leste2
March 18, 2024

Also have struggle with this - we’re always copy > pasting things and they get further and further bested into auto-layouts which I suspect also ends up fractionalizing pixels, making it impossible to undo one layer at a time. Figma should create an option to auto-snap all layers to full pixels, allow user to exclude things like icons, and show a window that explains which layers were not able to be changed to full pixels (but still move all the eligible layers).

Polina3
Polina3Author
March 25, 2024

@Cori_Leste2 @Miklos_Philips thanks for your support! We are in the same boat, so I’ll appreciate if you promote this topic so we can get more votes to fix this annoying problem finally!

Olya2
March 29, 2024

I’m also have issue with this and hope the solution will find very soon!

Julius_Klaus
New Participant
July 9, 2024

+1, i need an option where Figma forces frames to whole pixel values, as exported assets with fractional positioning will have a thin white edge and will not be the expected dimensions (+/-1 pixel)

Fritz_R
July 11, 2024

I am also experiencing this issue and its super frustrating to deal with.

Cody_Petruk
August 22, 2024

Our team is having a terrible time with exported assets having a thin white edge. We all have Snap to Pixel Grid turned on and we’re still getting all kinda of fractional positions.

There’s a “Snap to Pixel” plugin that removes unwanted decimals but we shouldn’t be having to run this across everything. Can we PLEASE get a “Make All Frames Round Values” preference?

S.T
Active Member
November 15, 2024

I am coming form sketch which has a Round to Pixel action in the task bar. This works regardless grid or not. I am running into the same issue and find myself having to so it by hand which is time consuming.

Elespacio_Comunicacion_Visual
New Member
December 2, 2024

Hi,
We are also struggling with this.
Besides the of pasting from another file, elements also don’t snap to grid when pasted components or elements are scaled up or down. We know that scaling components is an unusual user case, but it’s part of our workflow with a specific client. Having to go over all file layers to fix positions and dimensions every single time sucks the life of us. We’d rather let Figma snap everything automatically and we manually deal with the few exceptions when something doesn’t look right.

wolfr
Active Member
December 10, 2024

If Figma would copy paste sources with fractions into other positions when copying from file to file, it could potentially mess up the integrity of the design, so I understand Figma’s decision to not do this.

Sketch’s “Round to pixel” option on the toolbar was mentioned before.

I wanted to get opinions from people about the Snap to Pixel plugin. Do you use this plugin to fix frames that sit on fractional values, or do you fix it manually using the numbers in the right side panel? Or do you have another solution?

https://www.figma.com/community/plugin/1219661857469864621/snap-to-pixel

Leila
New Member
January 21, 2025

I struggle with the same issue..