-
Notifications
You must be signed in to change notification settings - Fork 734
Create a Dialog that uses hooks #2116
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
Conversation
@@ -2,7 +2,7 @@ | |||
import {useEffect, useCallback} from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, is it possible that we only need the useAnimatedTransition
hook and don't need the actual TransitionView component anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible, let me know if you want it removed, I prefer to do it in a different PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove. we can do it on another PR
Description
Change the
Incubator.Dialog
to use (internal) hooksChangelog
Change the
Incubator.Dialog
to use hooks, fixes issues with size given in percentage and not numbers