Skip to content

Commit d9bda36

Browse files
committed
docs: add notice regarding dynamic containers
1 parent 6102c77 commit d9bda36

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ In a project of mine I had to fit some text of unknown length to a container
44
without it wrapping. This utility component does exactly that, regardless of
55
whether if it sits inline, in a flexbox, grid or table. It just works.
66

7+
> [!IMPORTANT]
8+
>
9+
> At the moment the fitter can have some issues adjusting to containers that
10+
> resize based on their content. A feeback loop occurs where the fitter never
11+
> settles because the size changes with every change in font size. I have some
12+
> ideas on how to fix this but haven't tried implemented any them yet. If this
13+
> is an issue for your use case, please don't hesitate to open an issue.
14+
715
```bash
816
npm install react-fitter
917
```

0 commit comments

Comments
 (0)