diff --git a/src/utils/prefixed.js b/src/utils/prefixed.js index 9f4fd2602..f8c09d39a 100644 --- a/src/utils/prefixed.js +++ b/src/utils/prefixed.js @@ -7,6 +7,10 @@ import { VENDOR_PREFIXES } from './utils-consts'; * @returns {String|Undefined} prefixed */ export default function prefixed(obj, property) { + // This allows gestures to be registered inside svgs in Android webviews + if (!obj) { + return undefined; + } let prefix; let prop; let camelProp = property[0].toUpperCase() + property.slice(1);