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

多层嵌套的问题 #68

Closed
ail36413 opened this issue Jun 18, 2024 · 2 comments
Closed

多层嵌套的问题 #68

ail36413 opened this issue Jun 18, 2024 · 2 comments

Comments

@ail36413
Copy link

AScene
---BScene
-----B1Scene <->B2Scene <-> B3Scene

这种嵌套的情况可以实现吗? A页面里面有个占比50%的B页面,B页面里面的b1、b2、b3在做push pop,不影响外面A界面

@ail36413
Copy link
Author

使用NavigationSceneOptions去嵌套的话。背景不能透明?

@qii
Copy link
Member

qii commented Jul 7, 2024

Scene 支持互相嵌套的,比如 GroupScene 里面放 NavigationScene

NavigationSceneOptions 是有选项,默认是用 windowBackground 去填充背景色的,你可以关掉

mFixSceneBackgroundEnabled 和 mDrawWindowBackground

@qii qii closed this as completed Aug 14, 2024
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

2 participants