bfeher / BFPaperButton

iOS Buttons inspired by Google's Paper Material Design.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

circle grow beyond button's bounds

mohpor opened this issue · comments

Is it possible to change the behavior of the growing circle to grow behind the mask of the button?
I have tried many places of the .m file with no luck.

As of right now, no :(

I'm working on trying to get this functionality into the next version though.

I'm willing to help if I could be of any.
Let me know.

Thank you! I'm willing to look at and possibly accept merge requests. If you find a neat way to do this let me know and I'll take a look.

For now, I'm thinking of putting the ripple layers on a separate view, rather than just inserting more layers into the button's main view. I'll be sure to notify you here when I get this working.

Ok, sounds good to me.
I'll take another look and if I found any solution I'll request a merge.
Good luck

Ok I added this. I just need to clean the code up a bit. You should expect an update this weekend or Monday the latest ;]

Awesome
Thanks

Version 1.4.2 is live and allows the ripple layer to extend beyond the bounds of the button via BOOL property, rippleByondBounds = YES; (Default is NO).

Please check it out, test it, and let me know if there need to be any changes. Thanks.

Kudos,
Works like charm!