Skip to content

Commit

Permalink
docs: add notice regarding dynamic containers
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptcoded committed Nov 1, 2024
1 parent 6102c77 commit d9bda36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ In a project of mine I had to fit some text of unknown length to a container
without it wrapping. This utility component does exactly that, regardless of
whether if it sits inline, in a flexbox, grid or table. It just works.

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

0 comments on commit d9bda36

Please sign in to comment.