getx icon indicating copy to clipboard operation
getx copied to clipboard

Click twice to return to the parent page, when the partsInRootNavigator is set to true.

Open kimmy-wang opened this issue 2 years ago • 0 comments

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION. Fill in the template. Issues that do not respect the model will be closed.

Describe the bug Three questions:

  1. Click twice to return to the parent page, when the partsInRootNavigator is set to true.

https://github.com/see/flutter_github/blob/be026fdcad064aee986faf53eb076692e4758a5c/lib/app/routes/app_pages.dart#L66

  1. When the button is clicked to return, the content displayed on the two pages is different. Personal guess, the return value of the following code is empty.

https://github.com/see/flutter_github/blob/be026fdcad064aee986faf53eb076692e4758a5c/lib/app/modules/trending_detail/bindings/trending_detail_binding.dart#L10

  1. The title of the trending page is not displayed. When switching to this page from another page, it is displayed normally.

https://github.com/see/flutter_github/blob/be026fdcad064aee986faf53eb076692e4758a5c/lib/app/routes/app_pages.dart#L56

**Reproduction code https://github.com/see/flutter_github

Expected behavior Click once to return to the parent page, when the partsInRootNavigator is set to true.

Screenshots

https://user-images.githubusercontent.com/19725091/182787339-9fbccc13-5fd3-44f4-a43a-9b6c3d0b781d.mov

Flutter Version: 3.0.5

Getx Version: 4.6.5

Describe on which device you found the bug: ex: Moto z2 - Android.

Minimal reproduce code https://github.com/see/flutter_github

kimmy-wang avatar Aug 04 '22 07:08 kimmy-wang