In IE11, when the popper is near the viewport boundary, extra spacing is added to the page creating a scrollbar
See original GitHub issuehttps://codepen.io/caseyjhol/pen/BVBOVL
Steps to reproduce the problem
- Click the ref element
What is the expected behavior?
The green pop
element appears above the ref element and the rest of the page remains as is with no scrollbar.
What went wrong?
Extra spacing is created below the ref element, creating a scrollbar.
This appears to work properly in all browsers except IE10 and IE11.
I’m using a click listener for the popper (and showing it using display: block
to make the issue easier to see, but it persists without one as well (https://codepen.io/caseyjhol/pen/VdZGRY). This issue is the cause of twbs/bootstrap#24851. I go into more detail here: https://github.com/twbs/bootstrap/issues/24851#issuecomment-392584969.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
In IE11, when the popper is near the viewport boundary, extra ...
Extra spacing is created below the ref element, creating a scrollbar. This appears to work properly in all browsers except IE10 and IE11....
Read more >How to make popper show the scrollbars when it doesn't fit the ...
querySelector("#reference"); const popper = document. ... You need to set the width and height of the tooltip in order to see the scrollbar....
Read more >Browser Support | Popper
Popper supports modern versions of Chrome, Firefox, Safari, Edge. ... root viewport boundary, it can appear to lag behind while scrolling (not 1:1...
Read more >https://www.presidio.gov/Shared%20Documents/Menu/s...
scss/mixins/_border-radius.scss","../. ... scss/utilities/_spacing.scss",". ... n }\n\n @if $rfs-class == \"disable\" {\n // Adding an extra class increases ...
Read more >Patch - Pagure.io
_popper = new Popper(referenceElement, this._menu, this._getPopperConfig()); + } // If this is a touch-enabled device we add extra + // empty mouseover ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue, but was able to get around it by disabling
gpuAcceleration
.@craigjennings11 Awesome - looks like that works!