Skip to content

Sequence with svg in Edge #280

@florent-cdl

Description

@florent-cdl

Hi,

I've got some errors in a test sequence with svg in it when viewed in Edge.

The error is in resetInheritedSpeed function at line 1962 in sequence.js

I've changed : el.style[Modernizr.prefixed("transition")] = "0ms 0ms";
to : if (el.style) el.style[Modernizr.prefixed("transition")] = "0ms 0ms";

idem at line 2002

I think it's because on Edge a path node in a svg for example has no .style property ?
Surely there is a problem with svg with elements return by var stepElements = self.$steps[step - 1].querySelectorAll("*") (at line 1973) because errors appears.

Thanks.
Florent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions