-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
FlutterFragment forced to visiable when Activity resumed #105203
Comments
@ColdPaleLight pls check this |
I can replicate this behavior. Though one thing to note, I have noticed that when I tap on "Recent apps" button, then immediately go back to the app, the view is still invisible. It's when I tap on the "Home" button, then resume the app is when this bug occurs.
|
Closing it var linked PR |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
There are two issues to be addressed here:
For example, nesting a FlutterFragment in FragmentA and setting FragmentA to View.GONE , it does not work for FlutterFragment. This problem can be reproduced in this project code :d6dad6cbaabacc68f43406a50fc216c9fa752ccc
After calling This problem can be reproduced in this project code :main This problem was solved when I changed it to texture For these two questions, I will finish PR later |
@zxjzerg It looks like there was a PR marked as fixing this issue that was merged in September. Can you confirm the fix? |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I use FlutterFragment as a Tab in my application. After I upgrade Flutter to 3.0.0 I meet an issue that if the FlutterFragment is set to hidden, when the Activity resumes, the FlutterFragment will become visiable.
This not happen when I use Flutter 2.10.5.
Project for reproducing this issue
I read the souce code of FlutterActivityAndFragmentDelegat in Flutter 3.0.0 and find out when the Fragment's onStart is called, it set the FlutterView to visiable. This changes are introduced by #30897.
The text was updated successfully, but these errors were encountered: