-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add mobile support #4
Comments
Hello i would like take to this on but i dont have much experience in vanilla js as i mainly work in react. But i think i can pull this off with your guidance. |
Hi @AvaterClasher, thanks for your interest! I can guide you, however, this feature will need some experience working with vanilla js. Are you familiar with working with DOM events and adding and removing elements from the DOM in vanilla js? |
Yeah i know about it. |
Then I think you can work on it. I'll assign this issue to you. Let me know if you have any specific questions on how to get started! |
Hello, I'm testing on Android chrome, it seems to be impossible to open the keyboard when on mobile. Is this feature going to be implemented? thanks |
Hi @EntropyKN. |
Currently, the editor uses the keyboard's arrow keys to navigate between different blocks in the equation. This is clearly not possible on mobile. We need to add navigation buttons that would perform the same function as when an arrow key is pressed. This will require editing the editor HTML to add the buttons, and also updating the constructor for MJXGUI to add event listeners to the added buttons to simulate a keypress event when the corresponding buttons are clicked.
Also, we need to open the keyboard when we are on mobile so users can type English characters.
The text was updated successfully, but these errors were encountered: