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

MKLayer Ripple issue #57

Open
LeenaTekani opened this issue Jun 28, 2016 · 1 comment
Open

MKLayer Ripple issue #57

LeenaTekani opened this issue Jun 28, 2016 · 1 comment

Comments

@LeenaTekani
Copy link

I am using following GitHub library for the menu :-
https://github.com/yannickl/FlowingMenu

When I push any viewcontroller on the controller that is showing menu the ripple effects stops working in all the controllers.

Consider I have HomeViewController which has menu button to show menu. Once the menu is displayed after that in any viewcontroller I use UITextfield with subclass of MaterialKit the ripple effect stops working.

I know it's not the issue of your library but just wanted to know any workaround I can solve the issue. While debugging I got to know "clearEffects" method in the MKLayer method is not getting called after I tap on any textfield.

So is there is any way I can solve this issue.

@LeenaTekani
Copy link
Author

Right now I have solved the issue with the following code :-

public override func touchesEnded(touches: Set, withEvent event: UIEvent?) {
super.touchesEnded(touches, withEvent: event)
mkLayer.effectIsRunning = false
mkLayer.touchesEnded(touches, withEvent: event)
}

Not sure whether it will create any issue in future but as of now working.

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