Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Turning off GIF & sticker autoplay sometimes squishes images #237

@nixRidge

Description

@nixRidge

Describe the bug

When GIF and/or sticker autoplay is off, it squishes some image files, even non-animated files. Hovering them fixes the aspect ratio, but the images are cropped.

For example, this GIF sticker:

Screencast_20260308_055040.webm

And this 99x107 PNG

Screencast_20260308_055138.webm

Reproduction

  1. Turn off sticker and GIF autoplay
  2. Post any sticker or image

Expected behavior

The image is not cropped and maintains its aspect ratio.

Platform and versions

OS: Arch Linux
Browser: Firefox 148.0
Sable version: 1.5.1
Matrix homeserver: Synapse 1.148.0, tchncs.de

Additional context

I don't know what triggers it exactly, I tried uploading another 99x107 PNG which isn't affected by the bug, so it's seemingly random. It also happened with a non-animated sticker.

I haven't seen this happen with any emoji.

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