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

Move browser to a screen with different pixel density cause dart pad scale in Safari #2952

Open
zhxst opened this issue May 6, 2024 · 0 comments
Labels
P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@zhxst
Copy link

zhxst commented May 6, 2024

What happened?

The dart pad web page is scaled when I move the browser from MacBook screen to an external display, or vise versa.
It was all right before Flutter 3.19.
Safari 17.1 and Firefox 125.0.3 can reproduce this issue.
Chrome looks fine.

Steps to reproduce problem

  1. Open a Firefox or Safari with dartpad.dev .
  2. Move the browser from MacBook display to an external display, or vise versa.
  3. Click the page somewhere, or move the mouse cursor around. And the issue will appear.

On Firefox this issue is not stable, so try the steps above for serval times.
Workaround is to refresh the page.

Additional info

image image image

Browser

Browser:
Safari 17.1
Firefox 125.0.3

Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:

No.

Machine

Operating system:

MacBook Air M1
macOS Ventura 13.6

@johnpryan johnpryan added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) P2 A bug or feature request we're likely to work on labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants