Skip to content
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

UserAgentData polyfill infrequently reports desktop Firefox as mobile #263

Open
hudson-newey opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working can't reproduce

Comments

@hudson-newey
Copy link
Member

I have experienced a bug now where our UserAgentData polyfill will report that the browser is a mobile device.

I have only seen this bug twice in my thousands of hours developing these web components, but I am logging it here, to track the issue.

I have always experienced the bug during development on Firefox Developer Edition, and nothing but a complete machine restart fixes the bug.


Because we are using the maximum touch targets in our UserAgentData polyfill, this might also be an upstream bug with Firefox's maximum touch targets API

@hudson-newey hudson-newey added bug Something isn't working can't reproduce labels Dec 12, 2024
@atruskie
Copy link
Contributor

Maybe a useful escape hatch, regardless of the bug, is a toggle button for touch mode on the UI.

@hudson-newey hudson-newey changed the title UserAgentData polyfill infrequently reports desktop FireFox as mobile UserAgentData polyfill infrequently reports desktop Firefox as mobile Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce
Projects
None yet
Development

No branches or pull requests

2 participants