PostsBlogReposAbout
Samuel14 Dec 2023
What is with this cropping lmfao
4 11
Samuel14 Dec 2023
The image is square, for context
1 1
David Buchanan14 Dec 2023
oh yeah I've seen some weird cropping inconsistencies that go away in different views
1 2
David Buchanan14 Dec 2023
It's extra weird because the aspect ratio metadata is correct too
1 1
Samuel
@samuel.fm
Idk how much you know about react but it’s this apparently https://legacy.reactjs.org/docs/lists-and-keys.html reusing keys lead react to incorrectly reuse some elements that should’ve been different sizes
Lists and Keys – React
A JavaScript library for building user interfaces
legacy.reactjs.org
1
14 December 2023 at 12:45 amView on Bluesky