-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blur Background Position Incorrect #63
Comments
Thanks for report and example project, will dig into this soon and hopefully fix it |
@Dimezis I'd be very appreciative if you could take a look. I have such high hopes because the blur background works on one of them because the height is shorter. So something about the height causes the positioning to be wrong. |
I think I know what's the problem, will make an update in couple of days with new API to handle your case. |
@Dimezis Please let me know if I can help. I have a few libraries that would really benefit from this feature so it would be great if you share what's wrong. |
The issue is that dialog's relative position is always x=0, y=0. |
For now you can check out and test your scenario on branch 1.4.0 |
One more note,
Library works perfectly! |
Amazing library! I'm trying to use it in my AlertView and PermissionsDialogue libraries. Unfortunately, I've ran into a bit of a problem with fragments and the view being duplicated.
![maxthonsnap20180209163018](https://user-images.githubusercontent.com/19896174/36053344-01bbfdc8-0db7-11e8-9db3-7db44cd8ab38.png)
![maxthonsnap20180209163705](https://user-images.githubusercontent.com/19896174/36053511-8acd6610-0db7-11e8-9454-95af1fa92b27.png)
![maxthonsnap20180209162938](https://user-images.githubusercontent.com/19896174/36053528-98bd8a84-0db7-11e8-9505-7b5f9394b4a8.png)
You can see in the picture above that the same background position is displaying on both the top and bottom BlurViews. The BlurView position calculation is not doing anything.
Another example with only 1 BlurView to illustrate the problem.
What's puzzling is that the BlurView works correctly when the size is smaller.
Any ideas? I am so close to getting the blur working!
My repo w/ code here -> https://github.com/searchy2/CustomPermissionsDialogue/tree/blur
The text was updated successfully, but these errors were encountered: