Canvas keeps resizing to 50/50 width in Xcode

Hello,

Xcode seems to reset the canvas preview every time I open a file that does not have a preview. This is extremely annoying when working with two editor tabs.

The resize happened before only after restarting Xcode since a few weeks it happens always when opening another file.

The preview phone does not even take advantage of the resize.

Is there a way to fix this?

When I work with the file:

After opening a file without preview and going back:

Hi,

This was an unfortunate bug in Xcode 16 era releases, but a fix is in the current Xcode 16.4 RC 1 and will ship with the FCS version of Xcode 16.4.

If you aren't able to use the release candidate until 16.4 FCS is released, then a workaround you could try is to pin a preview which should cause the canvas to stick around more while navigating which should reduce the number of times you have to readjust the canvas back to your preferred size.

Sorry for the inconvenience!

Canvas keeps resizing to 50/50 width in Xcode
 
 
Q