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

Invalid layout when using button second time #4

Open
gavrilaf opened this issue Nov 11, 2016 · 0 comments
Open

Invalid layout when using button second time #4

gavrilaf opened this issue Nov 11, 2016 · 0 comments

Comments

@gavrilaf
Copy link

When user taps on the button second time after error animation, button shows with invalid layout.
See attached image, dots are outside ring now

My code:
if error { loginButton.stopByError() loginButton.isSelected = false DispatchQueue.main.asyncAfter(deadline: .now() + 1.5, execute: { self.loginButton.resetToReady() }) }

img_1370

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

1 participant