[add] StyleSheet support for 'overscrollBehavior'

An experimental CSS property to control the behavior when the scroll
position of a scroll container reaches the edge of the scrollport. This
allows web apps to get closer to native scrolling behaviour and
performance.

https://wicg.github.io/overscroll-behavior/
https://developers.google.com/web/updates/2017/11/overscroll-behavior

Fix #765
This commit is contained in:
Nicolas Gallagher
2018-01-11 12:41:34 -08:00
parent 067e3f346f
commit 19cf0711bc
5 changed files with 28 additions and 1 deletions

View File

@@ -688,6 +688,21 @@ const stylePropTypes = [
name: 'overflowY',
typeInfo: 'string'
},
{
label: 'web',
name: 'overscrollBehavior',
typeInfo: '"auto" | "contain" | "none"'
},
{
label: 'web',
name: 'overscrollBehaviorX',
typeInfo: '"auto" | "contain" | "none"'
},
{
label: 'web',
name: 'overscrollBehaviorY',
typeInfo: '"auto" | "contain" | "none"'
},
{
name: 'padding',
typeInfo: 'number | string'