Skip to content

'fill: "forwards"' causes the element to ignore any future style changes. #59

Closed
@urandom

Description

@urandom

Hi,

Using fill: forwards when starting an animation somehow disables all style changes after the animation ends. This can very easily be tested by doing:

$('body').animate([{opacity: 1}, {opacity: 0.3}], {duration: 400, fill: 'forwards'})

and after than ends, running:

$('body').style.opacity = 1

It seems that only the properties that have at some point been part of a forwards animation are 'disabled'. And this occurs in chrome 48 but not firefox 44

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions