Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

css - filter: blur not working on MS Edge

Microsoft Edge is not supporting filter: blur(); like it should. If I have an absolute positioned element with filter: blur();, inputs that appear on top will go nuts, merging with the blur (fun to watch).

Here's a Fiddle to show what happens. Works perfectly in Chrome and Firefox, but Edge turns into borderline epileptic. Just click the input and enjoy: https://jsfiddle.net/Cthulhu/3uz0Lpfz/2/

Here's a code example:

<style>
  article {
    background: url(http://uzebox.org/wiki/images/1/19/Arkanoid.gif) no-repeat;
    -webkit-filter: blur(20px);
    -moz-filter: blur(20px);
    -o-filter: blur(20px);
    -ms-filter: blur(20px);
    filter: blur(20px);
    height: 448px;
    position: absolute;
    width: 720px;
  }

  input {
    margin: 100px 0 0 20px;
    position: relative;
  }
</style>

<article></article>
<input />

You can even try to place a windows explorer window on top of the fiddle, it will "interact" with the image blur, which is funny. I tried taking a screenshot but the end result shows things as they are supposed to be, and ignores the bug (no fun :-( ).

Any ideas to go around this bug using only CSS?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Update: This issue no longer exists in recent builds of Microsoft Edge, and should be resolved via the Windows 10 Anniversary Update on August 02, 2016.


Thank you for reporting this issue. I work on the Microsoft Edge team, and can confirm that your fiddle reproduces the issue being described. While I don't presently have a work-around to offer, I will file this and personally notify the appropriate team(s) so as to give it earlier attention.

When I have more to share, I will return to update this answer.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...