Skip to content
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

notifyDataSetChanged will drop bottomsheet height #8

Open
sOt0nGx opened this issue May 7, 2018 · 5 comments
Open

notifyDataSetChanged will drop bottomsheet height #8

sOt0nGx opened this issue May 7, 2018 · 5 comments

Comments

@sOt0nGx
Copy link

sOt0nGx commented May 7, 2018

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.

@justasm
Copy link
Member

justasm commented Sep 11, 2018

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?

@VishnuVsuresh
Copy link

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

@sOt0nGx
Copy link
Author

sOt0nGx commented Oct 31, 2018

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.

@jkm123
Copy link

jkm123 commented May 13, 2019

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?

@VanishaGaba
Copy link

Hi, Can you help I am facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants