civiccc / civiccc/react-waypoint
Strange behaviour with css max-height transition
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
When I use max-height css transition (from 700px to 160px for example) waypoint fires at the end `onLeave` (without css transition it works fine),
so shadow in the bellow example stays.
PS when I manually scroll up and down (when message is expanded) it works ok.
PPS `Show less` changes `max-height` for message, so all thread also changes it height
Before click `Show less`

After click `Show less`

Feel free to ask for more details/gifs/etc.
Thx !
Contributor guide
Assessment
This issue has not been assessed yet.