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

Fix AttachedDropShadow size changes abnormally #4549

Merged
merged 2 commits into from Sep 2, 2022

Conversation

chenjt2001
Copy link
Contributor

@chenjt2001 chenjt2001 commented May 6, 2022

Fixes #4548

Fix AttachedDropShadow size changes abnormally.

PR Type

What kind of change does this PR introduce?
Bugfix

What is the current behavior?

The mask does not update even if the size of the element that owns the AttachedDropShadow changes.

What is the new behavior?

If the size of the element that owns the AttachedDropShadow changes, the mask will be updated.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • Contains NO breaking changes

Other information

@ghost
Copy link

ghost commented May 6, 2022

Thanks chenjt2001 for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

@ghost ghost requested review from michael-hawker and azchohfi May 6, 2022 08:26
@ghost ghost added the bug 🐛 An unexpected issue that highlights incorrect behavior label May 6, 2022
@chenjt2001
Copy link
Contributor Author

I am not sure whether the sample app needs to be modified. I tested these commits with a simple project (Similar to code in #4548)

@LalithaNadimpalli
Copy link
Contributor

The PR fixes the shadow to remain constant when we change the window size

@michael-hawker michael-hawker merged commit bba01d7 into CommunityToolkit:main Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior hotfix 🌶
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttachedDropShadow size changes abnormally
3 participants