vuejs/vue

Unable to simulate click in `$nextTick`

doodlewind opened this issue · 3 comments

Version

2.5.16

Reproduction link

https://jsfiddle.net/xnjc03hy/

Steps to reproduce

  1. Click on add in the demo,
  2. Comment out $nextTick part and uncomment the setTimeout part, try again.

What is expected?

Native input modal is supposed to be triggered in $nextTick.

What is actually happening?

Modal not triggered in $nextTick but triggered by setTimeout.

Possibly related: #7707

Seems that this is explained in #7109
See also DDFE/DDFE-blog#24

Closed via #8450 (will be out in 2.6)