Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Fix iOS touch when settings panel is open #274

Merged
merged 2 commits into from
Jun 16, 2023
Merged

Conversation

Belchy06
Copy link
Collaborator

Relevant components:

  • Signalling server
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

Touch events weren't routed to panels once a video had started playing. This prevented modification of settings that we're not visible as you couldn't scroll to see them.

Solution

Remove the passive aspect from touch handlers. This may have some negative impact on page performance but is necessary as the listeners we registers aren't passive.

Test Plan and Compatibility

Tested on mobile platforms to ensure fix as well as desktop platforms to ensure no regressions

Copy link
Contributor

@lukehb lukehb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lukehb lukehb merged commit a0fd9e6 into EpicGames:master Jun 16, 2023
1 check passed
@lukehb lukehb changed the title QOL Improvements for mobile Fix iOS touch when settings panel is open Jun 16, 2023
@gunsha
Copy link
Contributor

gunsha commented Jul 4, 2023

removing the passive: false is throwing errors on touch events on chrome emulating mobile
SCR-20230704-mowt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants