GitShow/developit/preact-css-transition-group
developit

preact-css-transition-group

Apply CSS transitions when adding or removing Preact components/elements

by developit
css-transitionspreact
Star on GitHubForknpm

JavaScript

62 stars17 forks5 contributorsQuiet · 8y agoSince 20161.3.0

Meet the team

See all 5 on GitHub →
developit
developit11 contributions
myarcane
myarcane9 contributions
zemlanin
zemlanin8 contributions
dharFr
dharFr3 contributions
philipwalton
philipwalton1 contribution

Languages

View on GitHub →
JavaScript98.8%
CSS1.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 4 in progress · Last activity 8y ago
See all on GitHub →
jmayergit
Update README to point to a maintained projectOpenIssue

https://github.com/fakundo/preact-transitioning I find the above to be a better option for most people looking to use . Currently this package has 40k+ downloads per week but it hasn't been maintained in years. Maybe the README could point users to

jmayergit · 5y ago
niedzielski
Fix: render order of a replaced single childOpenPR

When operating on a list of size one, preserve the render order of children. On single element children, the render order appears to be incorrectly swapped when adding and removing another child. I don't claim to fully understand all the intricacies of this library but I've tried to add some tests to make the change a little more confident.

niedzielski · 8y ago
sluukkonen
Issue with component recycling?OpenIssue

Hi, I'm having some problems with this library. After the first transition, the the new child entering the transition group already has the and classes already set, which breaks the animations. If I patch Preact to disable component recycling (e.g. by making a no-op), the issue disappears. Am I doing using something wrong here, or is this a real issue? Test case: https://codesandbox.io/s/72mq76qow6 (click Next Page twice to trigger the issue)

sluukkonen · 8y ago

Recent fixes

View closed PRs →
myarcane
Use requestAnimationFrame to avoid laggy animation on poor performances devicesMergedPR

On poor performances devices, we've experienced some lag when the animation starts. This was mainly due to the queuing the final . Switching to performs better than the (delayed as a macrotask). was actually the original implementation A is also raised when timeouts are not specified in the js api. Unit test have been fixed and updated consequent to these changes

myarcane · 8y ago
Structured data for AI agents

Repository: developit/preact-css-transition-group. Description: Apply CSS transitions when adding or removing Preact components/elements Stars: 62, Forks: 17. Primary language: JavaScript. Languages: JavaScript (98.8%), CSS (1.2%). Topics: css-transitions, preact. Latest release: 1.3.0 (9y ago). Open PRs: 4, open issues: 8. Last activity: 8y ago. Community health: 28%. Top contributors: developit, myarcane, zemlanin, dharFr, philipwalton.

·@ofershap

Replace github.com with gitshow.dev