Skip to content

use sensorEvent to detect touch support#381

Open
hamedbaatour wants to merge 1 commit intoShopify:masterfrom
hamedbaatour:patch-1
Open

use sensorEvent to detect touch support#381
hamedbaatour wants to merge 1 commit intoShopify:masterfrom
hamedbaatour:patch-1

Conversation

@hamedbaatour
Copy link

This PR implements or fixes...

this PR ensures that the triggered event is used to detect a touch device scenario as only checking if the device itself supports touch gives inconsistent results.

This PR closes the following issues...

#244

Does this PR require the Docs to be updated?

No

Does this PR require new tests?

No

This branch been tested on...

Browsers:

  • Chrome version
  • Firefox version
  • Safari version
  • IE / Edge version
  • iOS Browser version
  • Android Browser version

ensure that the triggered event is used to detect a touch device scenario as only checking if the device itself supports touch gives inconsistent results.
@spy-v2 spy-v2 bot deleted the branch Shopify:master September 18, 2023 21:48
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.

1 participant