scrollsnap-polyfill
scrollsnap-polyfill copied to clipboard
Does not support polyfilling elements dynamically added (SPA)
It appears that if elements are added after the polyfill initializes (such as in a Single Page App) those elements do not get the polyfill support.
EDIT: This may be an issue with Polyfill.js. I haven't looked deep enough yet.
I've implemented it and you are right, but it's just a matter of re-inserting the polyfill's JS or re-execuiting it's function just after loading your new content, as it works only over elements already loaded to DOM when it's being applied, that's why ot must be inserted at the end.