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

Memory leaks #11

Open
Anj78 opened this issue Nov 7, 2017 · 0 comments
Open

Memory leaks #11

Anj78 opened this issue Nov 7, 2017 · 0 comments

Comments

@Anj78
Copy link

Anj78 commented Nov 7, 2017

I try to use this keyboard on single page anjular js application.
In my application I load content by using ng-include directive.
(I have several views with controllers and present them by using ng-include binding)

I initialize input $('#Name').mlKeyboard({ is_hidden: false });
when I change view in ng-include, the page changes, controller destroys, but keyboard still on the screen.
The Keyboard and KeyboardEvent classes are alive in heap.

How to correctly destroy mlKeyboard before I will change view?

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