Skip to content

fix(ios/background): Fix background clear - #10415

Closed
PeterStaev wants to merge 1 commit into
NativeScript:mainfrom
PeterStaev:fix-background-clear
Closed

PeterStaev wants to merge 1 commit into
NativeScript:mainfrom
PeterStaev:fix-background-clear

Conversation

@PeterStaev

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

Right now seems it can happen that the layer of the background ends up undefined in some situations. As an example I have a view with List that navigates to a page with a BottomNavigation. When navigating back to the list the layer ends up undefined and the app crashes.

What is the new behavior?

Adds a safety check before trying to reset the layer's mask thus resolving the crash.

Fixes/Implements/Closes #[Issue Number].

@cla-bot cla-bot Bot added the cla: yes label Oct 19, 2023
@NathanWalker

Copy link
Copy Markdown
Contributor

Thank you @PeterStaev we'll kick off CI tests after the other pending PR clears.

@CatchABus

CatchABus commented Oct 20, 2023 •

Copy link
Copy Markdown
Contributor

@PeterStaev This has been fixed and enhanced by #10404 #10409. Please retry with latest repo changes.

@PeterStaev

Copy link
Copy Markdown
Contributor Author

@CatchABus I can confirm that the next version of the core modules fixes the problem 👍

@PeterStaev PeterStaev closed this Oct 20, 2023
@PeterStaev
PeterStaev deleted the fix-background-clear branch November 16, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants