html - Is -webkit-overflow-scrolling suitable for production use? -


i have been using -webkit-overflow-scrolling smooth scrolling on ios overlay nav menu, however, have been fighting bug (that can't seem find answer anywhere).

looking @ mdn site property says:

this feature non-standard , not on standards track. not use on production sites facing web: not work every user....

https://developer.mozilla.org/en-us/docs/web/css/-webkit-overflow-scrolling

why there such widespread use of if "not on standards track"? how can allow smooth scrolling on ios via standards-compliant method? there alternatives property suitable production?

why there such widespread use of if "not on standards track"?

usually, authors wind using non-standard features not knowing, or caring, they're non-standard. why of web depends on webkit-specific properties work, point the whatwg had draft spec designating webkit-specific properties supported competing browsers compatibility purposes, , why sources mdn caution authors against using non-standard features in production.

but in case of -webkit-overflow-scrolling, it's ios-specific feature apple has designed specific intention of production use — enable native-style scrolling on web apps on safari on ios. despite mdn's template warning, entirely appropriate use in production sites long understand it's ios-specific feature , behavior may change ios receives software updates.

and on note, if you've encountered bug -webkit-overflow-scrolling, you'll have report apple , hope fix eventually.

how can allow smooth scrolling on ios via standards-compliant method?

scrolling mechanisms platform-specific nature, there no standard controlling how scrolling mechanism works (overflow doesn't count).

are there alternatives property suitable production?

no; mentioned, property designed specific purpose , suitable use in production.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -