-
Notifications
You must be signed in to change notification settings - Fork 340
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
Cannot scroll center for scrollIntoView in iOS #178
Comments
Nice polyfill! I'd like to see |
I am also experiencing this issue for X axis smoothscroll for all browsers on iOS (Safari, Chrome & Firefox). Currently all is functioning on Android, MacOS, and Windows.
Same behavior as the CodePen linked in original post with Live Example Link for Mobile - https://ryansrealty.idxstaging.com/idx/market-reports/a001/city/springfield-oregon Video Example of behavior - https://drive.google.com/file/d/1VAm1yu7hXbYEybGrTwVSPGJFkHJlW60P/view?usp=sharing Expected: Element will be in the center of the viewport of the device. |
damn, i hope it will work |
how to resolve it... |
use native API scrollIntoView and make someone element scrolling to center, see Demo in codepen in Safari.
the polyfill cannot make it center in Safari, it looks like only for
inline: 'sart'
The text was updated successfully, but these errors were encountered: