-
Notifications
You must be signed in to change notification settings - Fork 298
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
Allow user to turn off blur effect by using nil. #321
base: master
Are you sure you want to change the base?
Conversation
Allow user to turn off blur effect by using nil.
Revert to master copy.
Revert to master copy.
Can you add an example of what this would look like and what code you'd use to instantiate the alert? |
Hi @sberrevoets , Sorry for late response as these few days I have been busy dealing with CoreData related issue. Let me show you a real-world use case, on how it looks like before & after the changes. Before`
` As you can see in the before case, there are 2 shortcomings
(I didn't submit the cancel button blur effect disable feature. I can submit again if you agree with such change) After`
` Please let me know what do you think? If you agree with such feature, I can resubmit the patch, which include the code to separate content view blur effect and cancel button blur effect. Thanks. |
Hi,
Thank you for creating
SDCAlertView
. The code is very clean, and enjoyable to read.I would like to propose the following change.
In certain case, when we are applying custom view on action sheet, we wish the background color of action sheet, have the same solid color as custom view.
But, current non nil blur effect, doesn't allow us to have a solid color action sheet.
May I propose to allow user to set nil on AlertVisualStyle's
blurEffect
, to provide user a choice to setup solid background color?Thanks.