Skip to content

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

Merged
merged 9 commits into from
Aug 31, 2022
Merged

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

Change the Incubator.Dialog to use (internal) hooks

Changelog

Change the Incubator.Dialog to use hooks, fixes issues with size given in percentage and not numbers

@@ -2,7 +2,7 @@
import {useEffect, useCallback} from 'react';
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

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

@M-i-k-e-l M-i-k-e-l requested a review from ethanshar July 24, 2022 05:54
@ethanshar ethanshar merged commit 46a9fe7 into master Aug 31, 2022
@M-i-k-e-l M-i-k-e-l deleted the infra/incubator-dialog-refactor-3 branch August 31, 2022 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants