Skip to content

Commit

Permalink
feat: 使用 navigateBack 的时候,在动画开始的时候就展示上一个页面;使用 navigateTo 的时候,在动画结束后再隐…
Browse files Browse the repository at this point in the history
…藏上一个页面 (#15659)

* feat: 使用 navigateBack 的时候,在动画开始的时候就展示上一个页面;使用 navigateTo 的时候,在动画结束后再隐藏上一个页面

* Update style.ts

---------

Co-authored-by: liuzejia <liuzejia@SZMAC-FV0MR4G7.local>
Co-authored-by: koppt <kopptsoft@gmail.com>
  • Loading branch information
3 people authored May 9, 2024
1 parent 97148f6 commit c76a103
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/taro-router/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ ${
}
` : ''}
.taro_page_shade,
.taro_router > .taro_page.taro_page_show.taro_page_stationed:not(.taro_page_shade):not(.taro_tabbar_page):not(:last-child) {
.taro_page_shade:has(+.taro_page_stationed),
.taro_page_shade.taro_tabbar_page,
.taro_router > .taro_page.taro_page_show.taro_page_stationed:not(.taro_page_shade):not(.taro_tabbar_page):not(:last-child):has(+.taro_page_stationed) {
display: none;
}
`
Expand Down

0 comments on commit c76a103

Please sign in to comment.