question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Dialog] - Blurry dialogs in chrome

See original GitHub issue

Description

We’re using the Dialog component a lot for forms, settings, etc. But most of them are a bit blurry. It depends on the size, contents and if there’s a scrollbar visible because of overflow. But it’s blurry even if try to break it down to just a title and a text (see screenshots/codepen)

This seems to be related to the positioning (http://stackoverflow.com/questions/31109299/css-transform-translate-50-50-makes-texts-blurry) but I couldn’t find a solution that works without zooming and then downscaling the container.

Images/Screenshots

Blurry:

Blurry dialog


“Fixed” by forcing overflow: scoll:

Normal dialog

Link to a gist or code sample where the issue can be reproduced

https://codepen.io/anon/pen/WjQpma

Version

  • React: 15.5.4
  • React-MD: 1.0.11
  • Browser Chrome: 57.0.2987.133

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
solvemoncommented, Jan 29, 2018

I was struggling with this issue as well.

Replacing the top/left + transform with flex alignments worked for me and removed all the blurriness: (My fix with SCSS)

#my-app {

  .md-dialog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    .md-dialog--centered {
      transform: none;
      left: unset;
      top: unset;
    }
  }
}
0reactions
mlaursencommented, Jun 12, 2018

This has now been added as a new opt-in feature until the next major release where it will be enabled by default.

Setting $md-dialog-use-flex-positioning: true will now use flex-based centered instead of the old left/top + translate3d hack.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix the blurry Google Chrome File Open dialogue issue
Click OK on that dialogue box, click OK on the Google Chrome Properties dialogue box and close and re-open Chrome using the Start...
Read more >
Blurry File Open dialog in Google Chrome - The Windows Club
Blurry File Open dialog in Google Chrome · First of all, Press Win+D keyboard shortcut to switch to your desktop screen directly. ·...
Read more >
Google Chrome File Open Dialogue Box is Blurry - YouTube
There seems to be a new issue with Google Chrome where the File Open dialogue is extremely blurry, appearing to be rendered at...
Read more >
Fix - Google Chrome v80 Issue "File Open Dialog is Blurry"
The blog post has a quick workaround on how to fix the blurry Google Chrome File Open dialog (File Save dialog) issue.
Read more >
Fix: Blurry File Open / Save As Dialog Boxes in Chrome and ...
How to Fix Blurry File Open / Save As Dialog Boxes in Google Chrome Browser ... Step 1: Click on the Search icon...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found