Skip to content

fix(ios): Proper shadow position after translate transform - #10413

Merged
NathanWalker merged 2 commits into
NativeScript:mainfrom
CatchABus:ios-shadow-position-fix
Oct 16, 2023
Merged

NathanWalker merged 2 commits into
NativeScript:mainfrom
CatchABus:ios-shadow-position-fix

Conversation

@CatchABus

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

On iOS, shadow layer position gets messed up if translate transformation is applied to view.

What is the new behavior?

On iOS, shadow layer position aligns with view position when translate transformation is applied to view.
To achieve this, we set shadow layer position to match view's center coordinates.

@cla-bot cla-bot Bot added the cla: yes label Oct 16, 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