feat: x-on.passive.false modifier#4610
Conversation
- Fix doc text to say "touch and wheel" instead of listing specific events - Change example from touchstart to touchmove to match the use case described - Use more practical example ($event.preventDefault() vs console.log) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR Review: #4610 — feat:
|
|
Oh wow – completely forgot about this one. Thanks for taking care of it 💖 |
Replaces #4404
Make events that are passive by default cancelable:
Use Case
Detect the axis of a
touchmovegesture and callpreventDefaultif it's the x-axis (useful for preventing document scolling if interacting with a slider).