alibaba / alibaba/flutter_boost
[Bug]: 侧滑时候前一个页面大部分情况会出现黑屏
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### 请描述遇到的问题,以及您所期望的正确的结果
需求:侧滑关闭页面(类似于头条文章详情页侧滑返回)
### 请说明如何操作会遇到上述问题
路径:原生页面 -> Boost容器A的flutter页面a -> Boost容器B的flutter页面b
侧滑返回页面b的时候,a经常出现黑屏,有时候是好的
### 在下面填入关键复现代码
```
```
### 复现的平台
Android
### Flutter SDK版本
3.3.10
### FlutterBoost版本
3.0.2
### 是否延迟初始化FlutterBoost
Yes
### 解决方案
问题基本定位应该是attach和deattach时机导致的。
参考了最新的boost代码变动,同步后仍旧出现上述问题,但频率减少。
调用时机仍旧存在问题
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Android flow from the native page to Boost container A, then container B, and swipe back from B. Inspect the FlutterBoost attach and detach timing around this transition, using the reported FlutterBoost 3.0.2 and Flutter SDK 3.3.10 versions. Done means page A no longer intermittently turns black after returning from page B.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100