element-hq / element-hq/element-ios

Sending a svg attachment ends up in a blank message

Open
#7,511 0 comments 0 reactions 0 assignees View on GitHub
A-Media A-Timeline O-Occasional S-Minor T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

- Go in a room
- send a svg attachment

### Outcome

#### What did you expect?

should be same behaiv. as if sending a image

#### What happened instead?

sending a svg attachment ends up in a blank message

![image](https://user-images.githubusercontent.com/55634271/233065032-a550e237-1e62-4f75-a94d-279405e46e6f.png)

### Your phone model

iPhone 14 Pro

### Operating system version

16.2

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report in a room on an iPhone 14 Pro running iOS 16.2, then trace the iOS attachment-rendering path for SVG files and compare it with image attachments. Done means sending an SVG displays an attachment rather than producing a blank message.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.