-
Notifications
You must be signed in to change notification settings - Fork 734
New Dialog using the new Pan and Transition Views #1576
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
I think we talked about it already.. |
We did talk about it; I did say that it might not be possible if we want to remove the older pan views (but this can be done in v7). |
So yes, let's go with small PRs |
up: -y - height, | ||
down: Constants.windowHeight - y, |
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.
Why did u change to up/down?
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.
So it will be backwards compatible with the old enum and remove some awkward "translations" between the two enums.
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.
I see.. bummer I prefer top/bottom on up/down
If the relevant components are in Incubator I don't mind changing it to top/bottom everywhere, I don't consider it a breaking change
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'll require a migration (public, private, apps...) because we're using up\down here.
Or some code I removed to translate it (and you did not like, if I recall correctly).
I figured we can use the old convention, at least for now, and a migration can be done in any time.
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.
ok 👍
Approved, build is still running you can merge once it's done |
Description
New Dialog using the new Pan and Transition Views
This will have conflicts with #1574
This is not feature complete, but not bad.
Missing features (or things I did not test yet): alignments, fix Android measureInWindow bug, header (do we need it? probably not), default style(?), onOrientationChange, useSafeArea.
Changelog
New Dialog using the new Pan and Transition Views