Closed paramarthasaha96 closed 6 years ago
Can you post a snippet of your code where you are creating your BottomSheet? Also if possible, the entire class where this is happening
schedule.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { new BottomSheet.Builder(getContext()) .setView(R.layout.layout_schedule) .show(); } }); Here i created the bottomsheet this onClickListener is in a fragment. And this can be reproduced if u show the bottomsheet and then pause the app and resume it again from recent apps.
So this looks to be an issue with the windowAnimationStyle
in the dialogs style running when resuming. Will further into for a fix.
Hope you fix this soon. Will help me a lot since this happens with bottomsheetdialogfragment as well.
Thanks for the fix so fast 👍
This bug is still happening for the BottomSheetDialogFragment.
any solutions it's still happened when the app come from the background the bottom sheet fragment not appear as expanded and display small area of view
when we pause the app and the resume it again the bottom sheet first disappears then reappears. Is it possible to keep it fixed unless canceled.