Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animating strokeWidth doesn't work in Safari #217

Open
Owen-Delisle opened this issue Jan 28, 2020 · 0 comments
Open

Animating strokeWidth doesn't work in Safari #217

Owen-Delisle opened this issue Jan 28, 2020 · 0 comments

Comments

@Owen-Delisle
Copy link

Owen-Delisle commented Jan 28, 2020

rectangle_1ShapeAnimation0() {
        return this.rootElement.querySelector('#Timeline .rectangle_1-svg').animate({
            strokeWidth:['20px', '4px']
        }, {
            delay: 0,
            duration: 1000,
            easing: 'ease-in-out',
            composite: 'add',
            fill: 'forwards',
        });
    }

The animation runs perfectly in Chrome. In Safari the strokeWidth jumps from 20px to 4px instantly.

Safari Version 12.1.2 (14607.3.9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant