javascript - SVG animation on hover clips my text during the transition of opacity -
i'm using velocity animate opacity of elements in svg when hovered. i've put text in foreignobject. when hover , text appears , moves, there moment text clipped on it's right end during transition. able me fix smoother animation?
here's how i've setup foreign object.
<foreignobject class="diam-foreign" x="60" y="60" width="300" height="297"> <p class="folio-item-foreign">make ready<br />a new project alpine review , friends</p> </foreignobject> </svg>
here's code animate it…
$(this).find(".diam-foreign").velocity({ opacity: "1.0", y: "60"}, { delay: 0 });
example here…
http://jsfiddle.net/rssll/bgglhvyk/2/
thank you.
Comments
Post a Comment