Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

SVG SMIL animate attributes fill="remove" not working?

  • Aucune réponse
  • 1 a ce problème
  • 9 vues
more options

I'm animating a SVG by dragging the mouse that changes the <path d=""> attribute. When mouseUp I'm setting the <animate values="" > to animate from that dragging point and start the animation. This works fine. But if I want to drag it for a second time it looks like the animation has been set to <animate fill="freeze"> although it has been set to "remove". In other words, it looks like the attribute fill="remove" doenst work. I can drag the object (and alter the <path d=""> ) but it doenst show after the animation has been completed for the first time. It only plays the animation.

I'm animating a SVG by dragging the mouse that changes the <path '''d=""'''> attribute. When mouseUp I'm setting the <animate '''values="" '''> to animate from that dragging point and start the animation. This works fine. But if I want to drag it for a second time it looks like the animation has been set to <animate fill="freeze"> although it has been set to "remove". In other words, it looks like the attribute fill="remove" doenst work. I can drag the object (and alter the <path '''d=""'''> ) but it doenst show after the animation has been completed for the first time. It only plays the animation.