This is my first question in stackoverflow, please let me know if I missed anything important to provide good context to my question. Full disclosure, I have only spent 3-4 hours researching the web for a good, understandable solution.
I recently discovered that browsers on iOS devices do not support behavioral scrolling features (like CSS "scroll-behavior: smooth" or scrollIntoView({ behavior: "smooth" }) ). Is there a practical solution to achieve simple smooth auto scrolling on iOS when you click on a link on the navigation bar? My current implementation works well on Android devices.
I'm using Reactjs, and have tried looking in to npm package react-scroll but I don't think there's any mention of iOS support. I have also looked into the thread Javascript - window.scroll({ behavior: 'smooth' }) not working in Safari, which is a couple of years old. Unfortunately, I don't fully understand the solution (coding newbie here).
Thanks in advance!