Fixed
Status Update
Comments
qu...@gmail.com <qu...@gmail.com> #2
Please include a sample project that reproduces your issue.
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #3
Here is the sample project.
Steps to reproduce:
1. Press on "Search" icon;
2. Write something;
3. Search this text, keyboard will be dismissed;
4. Tap on "Dialog" button;
5. Dissmiss dialog;
With the new 1.5.0 fragment library version text will be cleared in the search box after dismissing dialog.
In the version 1.4.1 and lower text in the search is not clearing and this is correct behaviour.
Please suggest some workarounds or how to fix this issue?
Steps to reproduce:
1. Press on "Search" icon;
2. Write something;
3. Search this text, keyboard will be dismissed;
4. Tap on "Dialog" button;
5. Dissmiss dialog;
With the new 1.5.0 fragment library version text will be cleared in the search box after dismissing dialog.
In the version 1.4.1 and lower text in the search is not clearing and this is correct behaviour.
Please suggest some workarounds or how to fix this issue?
il...@google.com <il...@google.com> #4
Hello, have you checked sample project? I hope it will help find the issue.
Description
Version used: androidx.appcompat:appcompat:1.0.2
Devices/Android versions reproduced on:
I have tested the following scenario from
If this is a bug in the library, we would appreciate if you could attach:
- Here is the link to the GitHub for the sample Project:
So to add context to the Project. The Sample project has an Activity which inflates a ParentFragment. The ParentFragment the inflates a ChildFragment. The ChildFragment has a setHasOptionsMenu(true) and inflates a Menu "Edit".
Now when the back button is pressed, the ParentFragment is pooped out but the Menu inflated by the ChildFragment ("Edit") remains.
- Attached are some screenshots.