Content-Length: 261338 | pFad | https://github.com/NativeScript/NativeScript/pull/10409

AF fix(ios): Add/remove shadow for reusable views by CatchABus · Pull Request #10409 · NativeScript/NativeScript · GitHub
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(ios): Add/remove shadow for reusable views #10409

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

CatchABus
Copy link
Contributor

@CatchABus CatchABus commented Oct 14, 2023

PR Checklist

What is the current behavior?

When it comes to reusable views, it seems that view box shadow is not removed when view gets removed from view tree.
That is because shadow layer belongs to parent and we rely on disposeNativeView to cleanup shadows but that doesn't seem to be the right approach.

What is the new behavior?

Add/remove shadows along with view, regardless of being reusable or not. It's also a good replacement for my previous PR.

@cla-bot cla-bot bot added the cla: yes label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/pull/10409

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy