element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

Can't paste and send an image on 1.11.5 #7724

Closed PgBiel closed 5 months ago

PgBiel commented 6 months ago

Steps to reproduce

  1. Copy an image somewhere.
  2. Open any chat on Element.
  3. Paste an image on the message field, e.g. hold on the message content area and press Paste.
  4. Try to submit it with the OK button under the image preview.

Outcome

What did you expect?

I can click the "OK" button under the image preview to send it.

What happened instead?

I can't click the OK button, as the keyboard now (since 1.11.5) remains up while I'm trying to send the image, thus covering the OK button. This didn't happen in Element 1.11.4 (just downgraded via Testflight and it worked: the keyboard is hidden when an image is pasted).

Your phone model

iPhone 11

Operating system version

16.1.2

Application version

Element 1.11.5

Homeserver

matrix.org

Will you send logs?

No

pixlwave commented 6 months ago

@PgBiel Can you provide any more information about the issue? I'm unable to reproduce it on iOS 16.7.2 or 17.2. My steps to reproduce were:

The keyboard dismisses and I'm able to see the send button.

I'm wondering if iOS 16.1.2 is a typo or not as that seems very old. If that is the version you are on, I would suggest updating to 16.7.3 and trying again.

PgBiel commented 6 months ago

Hello, thanks for letting me know. I'll assume this is due to my iOS version and close this issue for now. When I update my iOS version, I'll check again and reopen the issue if the problem still happens. Sorry for the trouble!

PgBiel commented 6 months ago

Hello @pixlwave , sorry for the delay. I've updated to iOS 17.2.1 now, and this is still happening.

See the screenshot below - I'm trying to paste that (sample) image, following the same steps as you. I am using the latest Element version in the App Store (which is 1.11.5).

How it looks on 1.11.5 - Can't press OK

![IMG_7094](https://github.com/element-hq/element-ios/assets/9021226/cfed6d61-9cde-4552-a223-c7eb3c08a863)

Here's how it looks when downgrading to 1.11.4 via Testflight:

How it looks on 1.11.4 - Works as expected, OK button is visible

![IMG_7095](https://github.com/element-hq/element-ios/assets/9021226/2b658e33-e7ab-4741-a0da-5faf9cdc5942)

PgBiel commented 5 months ago

This seems to be fixed on 1.11.6