
lzy100p
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
FAQ
Showcase
Product
Blog
ScrollTrigger Demos
Downloads
Posts posted by lzy100p
-
-
ClipPath animation doesn't work on the IOS12
var tl1 = new TimelineMax({repeat:-1,paused:true})
tl1.to(div1,0,{webkitClipPath:"polygon(0px 0px,0px 100px,100px 100px)"})
tl1.to(div1,1,{webkitClipPath:"polygon(100px 0px,100px 100px,200px 100px)"})
tl1.render(0)
tl1.play()codepen:
-
-
var d1=document.createElement("div")document.body.appendChild(d1)d1.style.left="0px"d1.style.top="0px"d1.style.width="100px"d1.style.height="100px"d1.style.position="absolute"d1.style.background="#ff0000"var p3to=new TimelineMax({repeat:-1,paused:true})p3to.to(d1,1,{autoAlpha:1,physics2D: {angle: 0,velocity: 300,gravity: 500}})p3to.to(d1,0.3,{autoAlpha:0},"-=0.3")p3to.render(0)p3to.play()it will throw an errorUncaught TypeError: Cannot read property 'length' of undefined
ClipPath animation doesn't work on the IOS12
in GSAP
Posted
Thanks a lot!