element-hq / element-hq/element-ios
Copy/pasting GIF uploads still image
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
#### Describe the bug.
When copying and pasting a GIF (e.g., from Giphy or Photos), Element converts it to a still image.
#### Steps to reproduce:
Steps to reproduce the behavior:
1. Copy a GIF, e.g., from Giphy or Photos (_not_ from a web browser, since that will replicate a different bug: https://github.com/vector-im/element-ios/issues/2076)
2. In an Element room, paste the GIF into the message input
3. See that the preview of the GIF looks like a still image
4. Press OK to upload the image
5. See that the image uploaded to the server is in fact a still image
#### Expected behavior
The image uploaded to the server should be a GIF. (I don't think it's a big deal that the preview looks like a still image, but animating that would be nice to have.)
#### Contextual information:
- Device: iPhone 12 mini
- OS: iOS 14.7.1
- App Version: 1.4.9
Contributor guide
Assessment
This issue has not been assessed yet.