-
-
Notifications
You must be signed in to change notification settings - Fork 337
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.
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: