developertools-tech / developertools-tech/developertools.tech

[Bug]: Aspect ratio preview odd behavior

Offen
#1 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug good first issue hacktoberfest help wanted
Vorherrschende Sprache
TypeScript
Sterne
41
Forks
44
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Contact Details

_No response_

### What happened?

Choosing an extremely low width or height causes the preview window to show an inaccurate representation of that aspect ratio

### What should have happened?

Aspect ratio preview should show an accurate representation of the selected ratio

### What browsers are you seeing the problem on?

Firefox

### Version

104.0.2

### Relevant Code

https://github.com/developertools-tech/developertools.tech/blob/main/components/aspectRatio/Preview.tsx#L15

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.