Skip to content

Layout bugs in attachments #8

@llsc12

Description

@llsc12

Attachments can cause layout cycles due to their non-finite size. The non-finite size is a result of unloading when not on screen (probably?), causing MarkdownText to recompute layouts in a loop and causing what appears to be a hang to end-users.

This should be fixed by using geometryreader in conjunction with the attachment's size data to make a deterministic frame.

This will be fixed once attachment viewer work is in place and attachments in messages are reworked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions