parley-messaging / ios-library

Parley iOS app library
MIT License
2 stars 2 forks source link

Images do not scale properly when tapping on it. #93

Closed mat1th closed 4 months ago

mat1th commented 4 months ago

Describe the bug In some situations the full screen image is displayed incorrectly.

To Reproduce

  1. Open Example app. (also on master branch)
  2. Open a chat.
  3. Send Image from the apple example images.
  4. Send a text message
  5. Close the Example app.
  6. Start the Example app.
  7. Click on the image that is still loading. (You will see a gray overlay, is also not expected)
  8. Dismiss the gray overlay.
  9. Wait before image is loaded.
  10. Click on image.
  11. The image is not scaled to fit in the screen. (See screenshot with BUG text)

Expected behaviour

Screenshots bug_screen expected_screen

alexkok commented 4 months ago

Fixed in 4.1.0 :rocket: