Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
brofrain committed Oct 27, 2023
1 parent db33150 commit f4a9940
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ Check out `examples` directory for a complete code.
To prevent the glitch from occurring, make sure that the transition-related properties are applied only via `enter_class`, `move_class`, or `leave_class` props. In case you need the transitions for e.g. hover animations, you can wrap the elements in additional `<div>` nodes, so `<AnimatedFor />` can work on them instead.\
As of writing this, I'm not sure how to fix this, but I will investigate this in the future.

- Elements rendered on server-side have no `enter_from_class` applied initially. In combination with `appear` prop, the nodes may be visible for a short time before the enter animation starts.\
If you care about the initial entering transition, make sure that the list is rendered in the browser.

## TODO

- [ ] tests
- [ ] investigate the known issues
- [ ] optional properties for explicit animation duration
- [ ] optional bool prop for assigning a static `z-index` to each child, so triggering a move transition before the previous one has finished doesn't cause overlapping elements to be chaotically moved from front to back and vice versa.

Expand Down

0 comments on commit f4a9940

Please sign in to comment.