Thanks to visit codestin.com
Credit goes to github.com

Skip to content

then() method is firing error "TypeError: Cannot read property '4' of null" #256

@Mertas

Description

@Mertas

Rect environment, this is a piece of my code. I cant make then to work. What am I doing wrong?

        progressAnimation.current = new mojs.Html({
            el: progressRef.current,
            width: {
                [progressRef.current.style.width || 0]: position * 100 + '%'
            },
            duration: 1000
        }).then({
            scale: {
                '1': '1.3'
            },
            opacity: {
                '1': '0'
            },
            duration: 1000
        }).play();

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbug to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions