-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
[v4] Popovers looked blurred. #22610
Comments
This looks like a bug with Vivaldi's implementation to me. Could you confirm if this happens in any other browsers on your particular system/setup? |
It still happened in my Chrome(56.0.2924.87) unless I closed win10 scaled DPI setting or remove the property ''translateZ". |
This appears to be a bug in Chromium/Blink's hardware accelerated rendering in situations when Windows is scaled/not 100%. |
Is this fixable or a won't fix? |
I'm experiencing the same issue on Windows 10, IE 11 (11.413.15063.0) with scale set to 100%. I'm loading following files:
|
@mdo as mentioned, removing the |
@patrickhlauke do you have any workaround to prevent popovers blurring? There are a lot of users with system scale more than 100% and Chrome. As all bootstrap developers will bring this bug to their users I think bootstrap team should provide a solution but not just rely on browser bugs. |
I experience the same issue on Chrome 64 on OS X, but only on some screens and on some zoom levels. I suppose this bug only occurs for certain combinations of screen resolution and zoom levels (which I believe is since those parameters makes the elements map differently to physical pixels). |
@patrickhlauke wrote:
Would there be any reason not to make it a setting? |
@amokrushin it works |
Related to Bootstrap bug: twbs/bootstrap#22610
Related to Bootstrap bug: twbs/bootstrap#22610
It first looked great, it works to fix blurriness, but as soon as I apply setting you metioned or just set it to false - with each scroll of the page popup gets wider. What help is |
@mackcoding It looks to me that you're having this issue not with a popover, but with a blurred dropdown. If that assumtion is correct, please note - bootstrap uses popover.js for dynamic positioning of the dropdown. To make it static Bootstrap v4.1.X introduces paramter you can apply to dropwon -
P.S. I couldn't find the same for the Bootstrap 4.0, although documentation states
applying data-boundary="window" doesn't set position to static. |
i have the same problem, the first clic to open the popover don't get position correctly (transform: translate3d not set correclty) ! |
I am having the same problem... looks good in mac chrome and blurred in windows |
This should be fixed as soon Bootstrap upgrades to Popper 2, we released the first RC yesterday |
@FezVrasta Has this issue fixed in the latest release, we tried checking it and it still appears Blurry! |
Reasons for blurring There are elements in translate3d (x, y, z) whose height and width are odd, and 0.5px will appear. As a result, the browser cannot render properly. This problem still exists, is there any good way to solve it? |
You can either disable the GPU acceleration by setting the default options explained here or wait for Bootstrap to upgrade to Popper 2. |
I introduced the bootstrap.bundle.js file in the form of a script tag to use the features of bootstrap. What should I do to solve the vague problem? |
I introduced the bootstrap.bundle.js file in the form of a script tag to use the features of bootstrap. What should I do to solve the vague problem? |
Would like to see this feature implemented as well. A simple passthrough of the modifier would make lives so much easier. https://popper.js.org/docs/v2/modifiers/compute-styles/#gpuacceleration |
Thank you very much for your suggestions. I found the gpuAcceleration parameter in the bootstrap.bundle.js file, set it to false, disable GUP acceleration, and Popovers became clear. |
Same. I changed |
For v5 it can be done for sure. For v4, I don't think we should go down this road since popper.js doesn't work on IE without polyfills. See also #29842. |
How do you remove the translateZ() though? It works when I open google chrome developer tools and uncheck the transform property but |
Can confirm that the blurry text bug is also still there with latest bootstrap library (4.4.1) and using ng-bootstrap 6.x in Angular. But using a global style like this fixes it for me (the !important was necessary in my case): ngb-popover-window {
will-change: unset !important;
} It does slightly change the look of the popover arrow and border, but at least it does not hurt the eyes anymore :) |
#30811 was merged. |
BS v4 popovers looked so indistinct in my browser.

It happened because the css property code
translateZ(0px)
.I'm not sure whether it will influence , which I has opened system DPI on win10.
My browser is Vivaldi 1.9.818.49.
The text was updated successfully, but these errors were encountered: