framer-motion ios 9 compatibility

354 Views Asked by At

framer-motion uses Proxy, but after importing proxy-polyfill, motion.div exported from 'framer-motion' is still undefined.

How can I make it work with ios 9?

import 'proxy-polyfill';
import 'core-js/stable';
import 'regenerator-runtime/runtime';

import { motion } from 'framer-motion';
console.log(motion.div) // undefined
0

There are 0 best solutions below