![]() ![]() No as mentioned, this property was designed for that specific purpose and is suitable for use in production. La proprit -webkit-overflow-scrolling permet de contrler si l'appareil tactile utilise l'inertie pour faire dfiler l'lment vis par la dclaration. Scrollable overflow is the content that appears outside the element box for which you might want to add a scrolling mechanism. Il peut galement y avoir d'importantes incompatibilits entre les implmentations et son comportement peut tre modifi dans le futur. Overflow happens when the content in an element box extends past one or more of the box's edges. ![]() Scrolling mechanisms are platform-specific by nature, so there is no standard for controlling how the scrolling mechanism works ( overflow doesn't count).Īre there any alternatives to the property that are suitable for production? The CSS overflow module properties enable you to handle scrollable overflow in visual media. How can we allow for smooth scrolling on iOS via a standards-compliant method? Despite MDN's template warning, it is entirely appropriate to use it in production sites as long as you understand that it's an iOS-specific feature (one of the few that actually use vendor prefixes as intended) and its behavior may change as iOS receives software updates.Īnd on that note, if you've encountered a bug with -webkit-overflow-scrolling, you'll just have to report it to Apple and hope they fix it eventually. This is why so much of the web depends on WebKit-specific properties to even work, to the point where the WHATWG had to draft up a spec designating certain WebKit-specific properties to be supported by competing browsers for compatibility purposes, and why sources like MDN caution authors against using non-standard features in production.īut in the case of -webkit-overflow-scrolling, it's an iOS-specific feature that Apple has designed with the specific intention of production use - to enable native-style scrolling on web apps on Safari on iOS. Usually, authors wind up using non-standard features not knowing, or caring, that they're non-standard. ![]() Why is there such widespread use of it if it is "not on a standards track"? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |