Bootstrap: position:fixed focused button flickers on Edge+IE when scrolling

Created on 11 Aug 2016  路  5Comments  路  Source: twbs/bootstrap

Okay so I looked through past issues and I did find quite a few issues on affix plugin and scrolling glitches but none seems to fit this case, so if I'm wrong thanks for pointing the solution to me.

The issue is only happening on IE and Edge. When clicking on a button, it correctly activates the said button when when action is done, focus remains on the button and if we scroll on a page with these browsers, the button then starts flickering/jumping.

You can see it with this little ply by opening with IE/Edge and simply clicking the button and scrolling afterwards.

http://codeply.com/go/i7UQ86nqLr

Operating system: Windows 10
Browsers: Chrome 52.0.2743.82, Edge 25.10586.0.0 and IE 11.545.10586.0

browser bug confirmed css v4

Most helpful comment

I solved this trough css:

a:focus {outline:none}

All 5 comments

Tried the "backface-visibility: hidden" trick but it didn't work.

Quick observation, if I use the same button but I put it in a < div > instead of a < button > tag, the problem goes away, so the issue really is related to the use of < button > tag in IE / Edge...

Maybe it's not related to Bootstrap I'll try to dig deeper to see if it's a combination of styles from btn or btn-* along with

I solved this trough css:

a:focus {outline:none}

@Tix1981 That's not a good fix. See http://www.outlinenone.com

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

tiendq picture tiendq  路  3Comments

IamManchanda picture IamManchanda  路  3Comments

steve-32a picture steve-32a  路  3Comments

devfrey picture devfrey  路  3Comments