We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/sveltejs/svelte-virtual-list/blob/master/VirtualList.svelte#L122
.scrollTo only exists on window in IE. So this cause an error to be thrown.
.scrollTo
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo
This can be fixed by adding a check first
viewport.scrollTo && viewport.scrollTo(0, scrollTop + d);
Apart from that, works fine in IE. If you'd prefer this in the form of a pull request, let me know.
The text was updated successfully, but these errors were encountered:
BTW looks like it could be just as easy to use scrollTop instead.
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop
Sorry, something went wrong.
No branches or pull requests
https://github.com/sveltejs/svelte-virtual-list/blob/master/VirtualList.svelte#L122
.scrollTo
only exists on window in IE. So this cause an error to be thrown.https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo
This can be fixed by adding a check first
Apart from that, works fine in IE. If you'd prefer this in the form of a pull request, let me know.
The text was updated successfully, but these errors were encountered: