Skip to content

Commit

Permalink
Merge pull request #1774 from didi/fix-bugfix-scenes
Browse files Browse the repository at this point in the history
bugfix: 导航条在安卓上体验问题&相交api错误
  • Loading branch information
hiyuki authored Dec 23, 2024
2 parents 0fd875f + 6104de2 commit 0cf85a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class RNIntersectionObserver {

const windowRect = {
top: navigationLayout.y + this.margins.top,
left: navigationLayout.x + this.margins.left,
left: this.margins.left,
right: navigationLayout.width - this.margins.right,
bottom: navigationLayout.y + navigationLayout.height - this.margins.bottom
}
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/platform/createApp.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ export default function createApp (option, config = {}) {
// 7.x替换headerBackTitleVisible
// headerBackButtonDisplayMode: 'minimal',
headerBackTitleVisible: false,
headerMode: 'float'
// 安卓上会出现初始化时闪现导航条的问题
headerShown: false
}
if (headerBackImageProps) {
navScreenOpts.headerBackImage = () => {
Expand Down

0 comments on commit 0cf85a3

Please sign in to comment.