anchor-bottom-sheet-behavior icon indicating copy to clipboard operation
anchor-bottom-sheet-behavior copied to clipboard

notifyDataSetChanged will drop bottomsheet height

Open sOt0nGx opened this issue 6 years ago • 5 comments

Whenever the RecyclerView refresh with Glide or notifyDataSetChanged, the height of the BottomSheet will drop.

I tried to move it up again with anchorBottomSheetBehavior.setState(AnchorBottomSheetBehavior.STATE_COLLAPSED); but does not work.

State was not changed but height is lowered.

sOt0nGx avatar May 07 '18 06:05 sOt0nGx

Hi, could you please provide more information on how to reproduce this issue? We use the sheet with RecyclerViews extensively and have not observed this. Do you have a sample project that demonstrates this behavior?

justasm avatar Sep 11 '18 08:09 justasm

@sOt0nGx Could you please help me for resolving this matter if you have the solution

VishnuVsuresh avatar Oct 31 '18 02:10 VishnuVsuresh

Hi, could you please provide more information on how to reproduce this issue? We use the sheet with RecyclerViews extensively and have not observed this. Do you have a sample project that demonstrates this behavior? If the bottomsheet height is match_parent it won't be a problem but if it is not, it will jump when scrolling down. I've made a demo which anyone can download https://drive.google.com/file/d/1fpzlZsclGuHSgryZl--rHph5DLHESJKo/view?usp=sharing

I don't have the solution but I've changed to other libraries.

sOt0nGx avatar Oct 31 '18 08:10 sOt0nGx

Hi, could you please provide more information on how to reproduce this issue? We use the sheet with RecyclerViews extensively and have not observed this. Do you have a sample project that demonstrates this behavior? If the bottomsheet height is match_parent it won't be a problem but if it is not, it will jump when scrolling down. I've made a demo which anyone can download https://drive.google.com/file/d/1fpzlZsclGuHSgryZl--rHph5DLHESJKo/view?usp=sharing

I don't have the solution but I've changed to other libraries.

Could you tell me the name of the libraries you using now?

jkm123 avatar May 13 '19 08:05 jkm123

Hi, Can you help I am facing the same issue

VanishaGaba avatar Jun 24 '22 09:06 VanishaGaba