Does the .passive modifier in Vue really work?

<div v-on:scroll.passive="onScroll">...</div>
The

.passive modifier indicates that the onScroll event is triggered after completion, but the test is invalid. What"s the reason?

Dec.06,2021

definition of scroll events on MDN:
The scroll event fires when the document view or an element has been scrolled.

scroll itself is triggered after scrolling, but the trigger frequency is too high.

passive tells the browser that the listener will not call the e.preventDefault () function. Instead of checking, it can generate gestures in advance to improve fluency, which is usually used in move events.

Menu