
When changing focus between inputs , scroll occurs
How can I prevent this scrolling on focus?
Actually, having tried all the methods that I could find: Preventing an <input> element from scrolling the screen on iPhone?
None of the proposed methods worked on IOS 15
31 Answer
I had a similar issue and I found a solution while googling. You can try the following CSS code that worked for me:
html,body{ -webkit-overflow-scrolling : touch !important; overflow: auto !important; }
Original Credit to: https://stackoverflow.com/a/35675094/1625130
ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobm1taGWGdX%2BOoaawZaSkeqW10pqZpZ1dlsK1u4ysmqunnKF6qrqMrJifmaKeeqq70mauoZ2eYsC4tdOcn6Kml2KvpsDWnpynZZmjvbbA0g%3D%3D