Skip to content

Tilt doesn't get applied to newly-created elements #116

@itsViney

Description

@itsViney

I have a page where Universal Tilt is applied to several elements. The tilt animation is applied correctly to all the elements when the DOM is first loaded, but when new elements are loaded dynamically, Universal Tilt doesn't get applied to these new elements. All newly created elements are syntactically identical to the existing ones, including the correct selectors, etc.

Should Universal Tilt be looking for new elements that match the defined selector? If not, is there an efficient way to add Tilt on these new elements, aside from re-initializing the whole plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions