Images do not scale correctly in iPadOS non-fullscreen mode

Describe the bug
When the Anytype app window is in a non-fullscreen state, such as in Split View or Slide Over mode, clicking on an image to display it will result in part of it being cut off.

To Reproduce
Steps to reproduce the behavior:

  1. Open an object containing a photo on Anytype iPad.
  2. Put the window in a non-fullscreen state, such as in Slide Over or Split View.
  3. Click on the Photo block to view it in fullscreen. Part of the image should be cut off according to the size of the Anytype app window relative to the display size.

Expected behavior
I expected the fullscreen image to follow scaling according to the window dimensions, not the display dimensions, so the image will not be cut off in Split View or Slide Over multitasking modes.

System Information:

  • OS: iPadOS 16 beta (although the same issue happened on stable iPadOS 15 releases)
  • Device Manufacturer/Model: iPad Pro 11
  • Anytype Version: 0.15.0

Thank you for testing on iPad! Added to tracker

1 Like

Adding to that, also in Fullscreen mode, images are using the full height. Not respecting the iOS bar on top. Then the time and battery is overlayed on top of the image.

1 Like