mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-05 11:19:34 +00:00
@@ -38,19 +38,21 @@ const whitelist = {
|
|||||||
pointerEvents: true,
|
pointerEvents: true,
|
||||||
style: true,
|
style: true,
|
||||||
testID: true,
|
testID: true,
|
||||||
// escape-hatches for ScrollView
|
/* @platform web */
|
||||||
onScroll: true,
|
onScroll: true,
|
||||||
onWheel: true,
|
onWheel: true,
|
||||||
// escape-hatches for Touchable keyboard support
|
// keyboard events
|
||||||
onKeyDown: true,
|
onKeyDown: true,
|
||||||
onKeyPress: true,
|
onKeyPress: true,
|
||||||
onKeyUp: true,
|
onKeyUp: true,
|
||||||
// escape-hatches for creating hover effects
|
// mouse events (e.g, hover effects)
|
||||||
|
onMouseDown: true,
|
||||||
onMouseEnter: true,
|
onMouseEnter: true,
|
||||||
onMouseLeave: true,
|
onMouseLeave: true,
|
||||||
onMouseMove: true,
|
onMouseMove: true,
|
||||||
onMouseOver: true,
|
onMouseOver: true,
|
||||||
onMouseOut: true,
|
onMouseOut: true,
|
||||||
|
onMouseUp: true,
|
||||||
// unstable escape-hatches for web
|
// unstable escape-hatches for web
|
||||||
className: true,
|
className: true,
|
||||||
href: true,
|
href: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user