Skip to content

Commit

Permalink
fix: navigtion 安卓初始化闪现导航条问题
Browse files Browse the repository at this point in the history
  • Loading branch information
human committed Dec 22, 2024
1 parent 7cac0f9 commit 2306880
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/platform/createApp.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ export default function createApp (option, config = {}) {
// headerBackButtonDisplayMode: 'minimal',
headerBackTitleVisible: false,
// 安卓上会出现回退的时,如果设置为flat的话 navigator出现右滑退出,screen部分是fade的方式,交互效果不佳
headerMode: 'screen'
headerMode: 'screen',
// 安卓上会出现初始化时闪现导航条的问题
headerShown: false
}
if (headerBackImageProps) {
navScreenOpts.headerBackImage = () => {
Expand Down

0 comments on commit 2306880

Please sign in to comment.