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

Viewport dynamic size #218

Open
dhilt opened this issue Oct 5, 2020 · 0 comments
Open

Viewport dynamic size #218

dhilt opened this issue Oct 5, 2020 · 0 comments
Labels
enhancement permanent ignore stale bot

Comments

@dhilt
Copy link
Owner

dhilt commented Oct 5, 2020

Related to #213. The idea is to provide an extension for the Adapter.check method that would allow to process the Viewport size changes in runtime.

Adapter.check({ viewport: true }); // check only viewport change

or just

Adapter.check(); // check both items and viewport changes

Current workaround based on synthetic scroll event and Adapter.clip method call is presented is this demo.

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

No branches or pull requests

1 participant