-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
bug(overlay): overlays are sometimes blurred in Chrome #932
Comments
+1 This is because the transforms on the parent |
Indeed, it would be nice to have them rounded. |
@Zigzag95 Are there any specific steps or browser requirements to reproduce this? |
Actually, we were able to recreate it only when using a Macbook Pro with a non-retina display on Chrome. Let me know if this happens under different circumstances as well. |
ChromeOS (I'm going to assume that will include Linux) also has the issue. Can test on Windows soon. |
Ah, okay. We tested on Linux and were not able to recreate it so far. Haven't checked Windows yet. |
@robertmesserle Although I've tested with the menu component, both Windows and Linux have this issue. I would assume the amount of blur also varies with ppi. |
Yea, it should impact anything built on top of Overlay (ie. anything floating). Some notes:
|
@robertmesserle Since currently Getting rid of |
Summing up status on this so far: this is caused by subpixel rendering in some browsers. Solution is to always round the transform values for overlay positions. |
We should try out this trick with |
I think it may work for even numbers of width and height only |
@jelbourn Some warning about using |
@crisbeto for connected position strategy, this should be as straightforward as calling |
…ionStrategy Refactors the `GlobalPositionStrategy` to use flexbox for positioning. This avoids the subpixel rendering issues that come with using transforms for centering. Fixes angular#932.
…ionStrategy Refactors the `GlobalPositionStrategy` to use flexbox for positioning. This avoids the subpixel rendering issues that come with using transforms for centering. Fixes angular#932.
…ionStrategy (#1962) * fix(dialog): avoid subpixel rendering issues and refactor GlobalPositionStrategy Refactors the `GlobalPositionStrategy` to use flexbox for positioning. This avoids the subpixel rendering issues that come with using transforms for centering. Fixes #932. * Make the `dispose` method required. * Add extra comments regarding the flex wrapper. * Fix failing unit tests. * Fix the unit tests after the recent changes.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I think you should change the text to "Use your eye glasses to see tooltips"
PS: My chrome zoom is set to 100%
The text was updated successfully, but these errors were encountered: