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

RN: Android 下 Taro.navigateTo 某个页面后,标题没有居中 #3678

Closed
goddyZhao opened this issue Jul 4, 2019 · 6 comments
Closed
Assignees

Comments

@goddyZhao
Copy link

goddyZhao commented Jul 4, 2019

问题描述
两个页面,一个是页面 A、一个页面 B,在A页面中有个按钮,点击后调用:Taro.navigateTo(),进入 B 页面,然后发现 B 页面的标题栏的标题没居中(Android 真机下)

复现步骤
[复现问题的步骤]

  1. 打开 App
  2. 点击页面 A 中的按钮,跳转到B
  3. 发现B页面标题栏标题没居中

期望行为
标题应该居中显示

报错信息

[这里请贴上你的完整报错截图或文字]
WechatIMG71

系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。

Taro CLI 1.3.2 environment info:
System:
OS: macOS 10.14.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
npmPackages:
@tarojs/async-await: 1.3.5 => 1.3.5
@tarojs/components: 1.3.2 => 1.3.2
@tarojs/components-rn: ^1.3.2 => 1.3.4
@tarojs/mobx: 1.3.2 => 1.3.2
@tarojs/mobx-h5: 1.3.2 => 1.3.2
@tarojs/mobx-rn: 1.3.2 => 1.3.2
@tarojs/plugin-babel: 1.3.2 => 1.3.2
@tarojs/plugin-csso: 1.3.2 => 1.3.2
@tarojs/plugin-less: 1.3.2 => 1.3.2
@tarojs/plugin-uglifyjs: 1.3.2 => 1.3.2
@tarojs/rn-runner: 1.3.2 => 1.3.2
@tarojs/router: 1.3.2 => 1.3.2
@tarojs/taro: 1.3.2 => 1.3.2
@tarojs/taro-alipay: 1.3.2 => 1.3.2
@tarojs/taro-h5: 1.3.2 => 1.3.2
@tarojs/taro-redux-rn: ^1.3.2 => 1.3.4
@tarojs/taro-rn: ^1.3.2 => 1.3.4
@tarojs/taro-router-rn: ^1.3.2 => 1.3.4
@tarojs/taro-swan: 1.3.2 => 1.3.2
@tarojs/taro-tt: 1.3.2 => 1.3.2
@tarojs/taro-weapp: 1.3.2 => 1.3.2
@tarojs/webpack-runner: 1.3.2 => 1.3.2
eslint-config-taro: 1.3.2 => 1.3.2
eslint-plugin-taro: 1.3.2 => 1.3.2
nerv-devtools: ^1.4.0 => 1.4.3
nervjs: ^1.4.0 => 1.4.3
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

@taro-bot
Copy link

taro-bot bot commented Jul 4, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@goddyZhao
Copy link
Author

这个问题应该是很common的问题,请问有相应的回复吗?

@taro-bot
Copy link

taro-bot bot commented Jul 8, 2019

CC @Pines-Cheng

@Pines-Cheng
Copy link
Contributor

Pines-Cheng commented Jul 8, 2019

正在重现~

@goddyZhao
Copy link
Author

@Pines-Cheng ,谢谢,请问有进展吗?

@Pines-Cheng
Copy link
Contributor

Pines-Cheng commented Jul 10, 2019

确实,当存在返回按钮时,会不居中。
感谢反馈~

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