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: potentially fix iOS 16.0 navigation header title bug #1579

Merged
merged 4 commits into from Sep 23, 2022

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Sep 1, 2022

Description

Potentially fixes #1570 as suggested in comments.

I tested it on iOS 16.0 simulator & device - worked for me. However when I passed this solution to other team @software-mansion, it was reported back to me that there is no change (buggy behaviour still occurs).

I'm gonna merge this PR, as it introduces only line-swap change, which should not introduce any regression and potentially fixes the bug.

NOTE: this issue seems to be already fixed internally by Apple as reported here.

Changes

Just moved navitem.title = ... assignment below navitem.titleView = ... one.

Test code and steps to reproduce

See #1570

Checklist

  • Ensured that CI passes

@kkafar kkafar marked this pull request as ready for review September 23, 2022 08:46
@kkafar kkafar changed the title fix 1570 fix: potentially fix iOS 16.0 navigation header title bug Sep 23, 2022
@kkafar kkafar merged commit 07d8068 into main Sep 23, 2022
@kkafar kkafar deleted the @kkafar/fix-1570-mirror branch September 23, 2022 09:29
DrOverbuild added a commit to DrOverbuild/react-native-screens that referenced this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation header looks different in ios 16 beta.
1 participant