Skip to content
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

Problem with button alligment #3

Open
jarrillaga opened this issue Apr 20, 2015 · 4 comments
Open

Problem with button alligment #3

jarrillaga opened this issue Apr 20, 2015 · 4 comments

Comments

@jarrillaga
Copy link

The button is not in the middle of the ripple. I m using Autolayout, NavigationController and iOS8.

@djaygit
Copy link

djaygit commented May 15, 2015

I'm having the same exact issue, have you found any solution?

@buildwithgagan
Copy link

Did you find any solution ?

@virginiapujols
Copy link

I had the same Issue. I solved it updating the continuoousripples method.
Just changed this line
CGPoint shapePosition = [self convertPoint:self.center fromView:nil];
For this one
CGPoint shapePosition = [self convertPoint:self.center fromView:self.superview];

It now centers around the target button.
Hope it helps

@bharathlalgudinatarajan
Copy link
Owner

Guess the solution posted by @virginiapujols should work. I'll try to fix this from my end too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants