wasabeef/Blurry

Blur behind Alert Dialog issue

vbv1 opened this issue · 3 comments

vbv1 commented

Hi,
Thanks for providing this library. It is working good in most cases.

But I have encountered a scenario, where I need to blur the view whenever an Alert dialog is displayed.

In this case, blur does occur, but it looks very weird.
It seems as if the blur is shifting downwards respective to original view instead of overlapping the view(which should ideally happen).

What I did was exactly similar to other scenarios,
ie. when displaying the alert dialog, I fetched the view which is to be blurred and set the blur on it as soon as dialog is displayed.

Can you guys recreate the same scenario and observe the behaviour.

Also, if anyone who tried the same, can you help out with the issue. Its been bothering me since long time and I need to fix this.

Thanks !!

@vbv1 Did you find any solution to this?

7-cat commented

+1

The reason for this is the presence of action bar, in my case.
I gave an id to the global view, and passed that as the view to be blurred