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.

[v4] Popovers looked blurred.

See original GitHub issue

BS v4 popovers looked so indistinct in my browser. 2 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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:11
  • Comments:31 (11 by maintainers)

github_iconTop GitHub Comments

23reactions
amokrushincommented, Mar 17, 2018

@Herst there is a setting:

import Popper from 'popper.js';

// see: https://github.com/twbs/bootstrap/issues/23590
Popper.Defaults.modifiers.computeStyle.gpuAcceleration = !(window.devicePixelRatio < 1.5 && /Win/.test(navigator.platform));

From #23590

3reactions
ghostcommented, Nov 10, 2018

@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 - data-display="static" - this should fix dropdown bluriness. Example:

<div class="dropdown">
  <button id="dLabel" type="button" data-display="static" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</button>
  <div class="dropdown-menu" aria-labelledby="dLabel">
    ...
  </div>
</div>

P.S. I couldn’t find the same for the Bootstrap 4.0, although documentation states

Note when boundary is set to any value other than ‘scrollParent’, the style position: static is applied to the .dropdown container.

applying data-boundary=“window” doesn’t set position to static.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text becomes blurry on opening/closing Popover in Chrome
Is there anything that can be done to eliminate the blurring of text that occurs when popovers are fading in/out? Text of the...
Read more >
hide bootstrap popover on blur EXCEPT if element inside ...
I've tried adding a $('.popover').on('blur') function but I'm not sure how to handle checking if something inside the popover has focus when ...
Read more >
Popover | Directives - BootstrapVue
This blur trigger must be used in combination with the click trigger. The following example shows the click blur use case. Popovers will...
Read more >
iOS13 - Date/Time input: blur eve… | Apple Developer Forums
In iOS <=12 - dismissing the popover would call blur event for date/time inputs. ... 4. Tap on other element to close date...
Read more >
Xhilaration Size XXL Fuzzy Black White Gray Soft Popover ...
Find many great new & used options and get the best deals for Xhilaration Size XXL Fuzzy Black White Gray Soft Popover Long...
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