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

Opened expansion panels do not save their state in virtual scroll #14781

Open
alibenmessaoud opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@alibenmessaoud
Copy link

alibenmessaoud commented Jan 10, 2019

What is the expected behavior?

When scrolling on a list of expansion panels with the first one opened and then returning back to the top, the first panel should still be opened.

What is the current behavior?

Scrolling will open others expansion panels that have the same position as the first one, also it misbehaves the UI.

What are the steps to reproduce?

Just scrolling here after opening the first expansion panel: https://stackblitz.com/edit/angular-md-scrolling

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angualr 7, MD 7, TS 3

Is there anything else we should know?

Same thing if you choose to open the nth expansion panel on the list.
Used the ngx-infinite-scroll works well and keeps opened expansion panels state. So it is about MD Scrolling.

Authors: @hzitoun @alibenmessaoud

@alibenmessaoud alibenmessaoud changed the title MD Scroll misbehave on opened expansion panels MD Scroll misbehaves on opened expansion panels Jan 10, 2019

@andrewseguin andrewseguin changed the title MD Scroll misbehaves on opened expansion panels Opened expansion panels do not save their state in virtual scroll Jan 10, 2019

@andrewseguin andrewseguin added the P4 label Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment