Playground, `ImageResizer />`: image overflows - `width`/`maxWidth` issue?
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 55
Description
- This issue comes from the playground example.
- The `` component styling has not been altered
- I am happy to create a PR if y'all think the below is an actual issue and not something I'm missing/not understanding fully.
- If I'm missing something could someone please elaborate on usage of this?
Lexical version: `v0.5.0`
## Steps To Reproduce / The current behavior
1. Add image with "Insert image"
2. resize the added image to _some_ size
3. resize the screen to something small and see the original image overflow-x
Enough space for set width:

Small screen (not enough space) for set width:

## The expected behavior
Image to be resized to the desired size IF the screen space allows for it, otherwise shrink to `maxWidth: 100%`, which would result in something like this:
Contributor guide
Assessment
This issue has not been assessed yet.