vue-agile icon indicating copy to clipboard operation
vue-agile copied to clipboard

@after-change fires immediately after @before-change, even if :speed="3000"

Open TitanFighter opened this issue 4 years ago • 1 comments

Describe the bug @after-change fires immediately after @before-change, even if :speed="3000"

Code

<VueAgile
    :speed="3000"
    @before-change="test(true)"
    @after-change="test(false)"
>

and

methods: {
    test (trueOrFalse) {
        console.log('trueOrFalse:', trueOrFalse)
    }
}

Expected behavior As I understand, @after-change must be fired once animation stopped.

TitanFighter avatar Aug 07 '20 11:08 TitanFighter

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 07 '20 11:08 issue-label-bot[bot]