Skip to content

Prop changes do not always trigger $watch in IE11 #7915

@fenduru

Description

@fenduru

Version

2.5.16

Reproduction link

https://jsfiddle.net/50wL7mdz/242700/

Steps to reproduce

Open JSFiddle in IE11, and scroll the scrollbar up and down rapidly. Observe the console warns that occur when a prop update was missed

What is expected?

The $watch should be fired for every scroll event

What is actually happening?

Vue is handling subsequent scroll events before the watch is firing. In my use case we are integrating with another system, and it is important that we don't skip events.


This change is reproducible in versions >= 2.4.3 (you can change the version to 2.4.2 in the reproducer to see the correct behavior). Looking at the change log, it seems like this commit is a likely culprit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions