alibaba / alibaba/flutter_boost

Fragment gets freezes when switch between two or more flutter_boost fragments on bottom navigation bar, First time only.

Open
#2,016 1 comment 0 reactions 0 assignees View on GitHub
waiting for customer response
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### 请描述遇到的问题,以及您所期望的正确的结果

The issue is very similar to [issue_565](https://github.com/alibaba/flutter_boost/issues/565) and [issue_594](https://github.com/alibaba/flutter_boost/issues/594).
Above two issues are being closed and marked as resolved but i am still able to reproduce it.

### 请说明如何操作会遇到上述问题

### Problem
Let's say we have an android app with bottom navigation bar of 5 tabs.
TabA-> Native
TabB-> Flutter
TabC-> Native
TabD->Flutter
TabE->Native

By default, a user lands on TabA (Native). Now if we switch between TabA(Native) and TabB(Flutter) everything works fine but when we navigate from TabB(Flutter) to TabD(Flutter) and then come back to TabB(Flutter), tabB gets freezed. It only happens first time after that it works fine.

### 在下面填入关键复现代码

```
```

### 复现的平台

Android

### Flutter SDK版本

3.16.9

### FlutterBoost版本

5.0.1

### 是否延迟初始化FlutterBoost

No

### 解决方案

cc: @Firewayer @joechan-cq

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.