Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Unflip #9

Open
Su-Yong opened this issue Oct 10, 2024 · 0 comments
Open

Remove Unflip #9

Su-Yong opened this issue Oct 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Su-Yong
Copy link
Owner

Su-Yong commented Oct 10, 2024

Summary

An Unflip component stops propagation of animation from parent Flip. Then, why don't merge this function to Flip?

Description

  • Remove Unflip
  • add propagation property in Flip
    • add propagationProperties property in Flip
interface FlipProps {
  // ...
  propagation?: 'only' | 'children';
  propagationProperties?: 'inherit' | string[];
}
<Flip propagation={'only'}> // works like Wrapped unflip in children
	<div>
		asdf
	</div>
</Flip>

<Flip propagation={'children'} propagationProperties={'inherit'}> // default
	<div>
		asdf
	</div>
</Flip>
@Su-Yong Su-Yong added the enhancement New feature or request label Oct 10, 2024
@Su-Yong Su-Yong self-assigned this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant