Skip to content

Mark which touch/scroll related event listeners are passive#5511

Merged
dmarcos merged 1 commit intoaframevr:masterfrom
mrxz:passive-event-listeners
May 23, 2024
Merged

Mark which touch/scroll related event listeners are passive#5511
dmarcos merged 1 commit intoaframevr:masterfrom
mrxz:passive-event-listeners

Conversation

@mrxz
Copy link
Contributor

@mrxz mrxz commented Apr 8, 2024

Description:
This PR sets the passive flag whenever a touch/scroll related event listener is added.

Fixes #5510

Changes proposed:

  • Explicitly set passive flag for touch/scroll event listeners

@dmarcos
Copy link
Member

dmarcos commented May 23, 2024

Thank you

@dmarcos dmarcos merged commit d83d7d7 into aframevr:master May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

a-scene Chrome non-passive violation warnings for touchmove and touchstart event handlers

2 participants