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

getTitle stills retrun a title #2872

Closed
OdaiTu opened this issue Feb 10, 2018 · 2 comments
Closed

getTitle stills retrun a title #2872

OdaiTu opened this issue Feb 10, 2018 · 2 comments

Comments

@OdaiTu
Copy link

OdaiTu commented Feb 10, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported) yes 4.0.0-beta.28
  • react-native v0.?.? 0.50.3

Expected behaviour

i expect to hide the title from my screen when navigate to it

Actual behaviour

the title still shows

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.
image

@Blapi
Copy link
Collaborator

Blapi commented Feb 10, 2018

Use the title or renderTitle property.

@Blapi Blapi closed this as completed Feb 10, 2018
@mklb
Copy link

mklb commented May 17, 2021

This issue still exists in 4.3.1.

Setting the title prop to null or an empty string does not work. The fallback title that is used seems to be set from the key prop.

However setting renderTitle={null} works.

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

No branches or pull requests

3 participants