-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix reference to TouchEvent which is not defined in Firefox #1001
Conversation
Hi there @kiasyn, thank you for this contribution! 👍 While we wait for the team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
|
It should be supported in Firefox: https://caniuse.com/?search=TouchEvent |
@bjarnef hmm is there some more information I can provide? doesn't work on https://uui.umbraco.com/?path=/docs/uui-color-area--docs for me still has the issue. Do you have a touch device connected to your computer? |
It works in on desktop in emulator simulating touch event in Firefox and on Firefox for Android. Any specific Firefox version and OS? |
Firefox 134.0.2 on Windows 11 Pro Build 26100 |
Okay, the example here wasn't using emulator though. Strange enough, because I have same version: |
do you have any touch points detected on https://www.whatismybrowser.com/ ? I have 0 detected there |
It shows 1 at Maximum Touch Points in Firefox, but 0 in Chrome. |
@iOvergaard I would update this comment as Strange I couldn't reproduce in exact same version of Firefox. |
@bjarnef I could reproduce it in Firefox as well on my MacOS, so may be hardware-dependent. Anyway, the fix does not hurt anything - if the TouchEvent is present then that will be used. |
@iOvergaard yes, I just mean the comment is misleading as |
Description
Fixes issue #1000
Types of changes
Motivation and context
drag does not work on Firefox
How to test?
Screenshots (if appropriate)
Checklist