Skip to content

Fix animations when content is flipped #8337

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
Oct 29, 2020

Conversation

wnvko
Copy link
Contributor

@wnvko wnvko commented Oct 9, 2020

New util function is introduced - oppositeAnimationResolver. Passing an animation to this function returns opposite animation if one exists. By the help of this function, when content shown in overlay is flipped by the auto position strategy, we are changing and provided animations.

Closes #8238

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@wnvko wnvko force-pushed the mvenkov/use-correct-animation-10.2 branch from 96631dd to 2e7dac9 Compare October 12, 2020 08:50
simeonoff
simeonoff previously approved these changes Oct 12, 2020
@wnvko wnvko requested a review from ViktorSlavov October 12, 2020 10:20
ViktorSlavov
ViktorSlavov previously approved these changes Oct 13, 2020
@Lipata Lipata assigned valadzhov and PlamenaMiteva and unassigned valadzhov Oct 14, 2020
@PlamenaMiteva PlamenaMiteva added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Oct 19, 2020
@ChronosSF ChronosSF changed the base branch from master to 10.2.x October 20, 2020 13:53
@ChronosSF ChronosSF dismissed stale reviews from ViktorSlavov and simeonoff October 20, 2020 13:53

The base branch was changed.

@Lipata Lipata changed the base branch from 10.2.x to master October 20, 2020 20:17
@Lipata Lipata merged commit e492c1b into master Oct 29, 2020
@Lipata Lipata deleted the mvenkov/use-correct-animation-10.2 branch October 29, 2020 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
overlay version: 11.0.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto position strategy use wrong animation when flipped
7 participants