-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[V3] Topbar with large title still shows small title #5454
Comments
same here |
yes, noticing the same issue as well. Has anyone tried a temp fix? |
I have the same issue, a fix would be greatly appreciated. |
+1 |
1 similar comment
+1 |
Same. A dirty horrible workaround is to set the topbar title color the same as the topbar background color. Though this also prevents the small title from being visible on scroll.
|
Issue still persists: React Native Navigation version: 3.6.0 (last working is 3.1.0) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Issue still exists |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
still an issue |
Death to stalebot! |
Has anyone found a fix/workaround for this? Maybe something that could be applied through patch-package 😄 |
This is fixed in 6.1.0 |
This is still happening to me. React Native Navigation version: 6.3.0 |
If I don't have a Here the component being returned:
|
Sorry for the rush of comments, but this workaround fixes the issue for me, should be a strong clue about what the real issue is. This is using const MyScreen: React.FC<MyScreenProps> = (props) => {
const [didAppear, setDidAppear] = useState(false);
useNavigationComponentDidAppear((didAppearEvent) => {
setDidAppear(true);
}, props.componentId);
if (!didAppear) {
return (<View />);
}
return (
<ScrollView
style={{
width: '100%',
}}
contentContainerStyle={{
alignItems: 'center',
flex: 1,
}}
>
<Text>My View Goes Here</Text>
</ScrollView>
);
}; |
If anyone is still facing this issue, try out these workarounds. |
Issue Description
When largeTitle is enabled the small title should be hidden and only shown on scroll. Right now they are both visible.
Other issues related to the largeScreen option:
Steps to Reproduce / Code Snippets / Screenshots
Add largeTitle to any screen (can be reproduced in playground):
Other issues:
Environment
The text was updated successfully, but these errors were encountered: