mathquill / mathquill

Easily type math in your webapp
http://mathquill.com
Mozilla Public License 2.0
2.6k stars 686 forks source link

Mathquill inside Android application Webview #920

Open SanthoshMKunthe opened 3 years ago

SanthoshMKunthe commented 3 years ago

I have went through https://github.com/mathquill/mathquill/issues/65 and https://github.com/mathquill/mathquill/issues/850

But keys seems to be hard coded to this.parent.keydown(e); which works only on Desktops with physical keyboard. . .

What about android. . .

jaltekruse commented 3 years ago

While the mathquill version on the homepage is stale, the tip of master definitely works with android browsers. Not sure if there are special considerations around WebViews, did you just try to load the mathquill homepage in the WebView?

Examples of mathquill working on mobile: https://github.com/Khan/math-input https://freemathapp.org

I'll work with @laughinghan on getting the homepage updated so it accurately reflects what is currently supported.

Nenado commented 2 years ago

@jaltekruse @SanthoshMKunthe

On http://mathquill.com/ example still does not work on Android browsers and keyboard. When I press letters/numbers, nothing happens.But if I press ENTER key, after that all works well. What can be done about this?

jaltekruse commented 2 years ago

@Nenado the homepage still isn't updated, I'll try to get this done soon. You can build the project and view the test page from your mobile device to see that this is fixed on the master branch.

diophant-math commented 6 months ago

@Nenado the homepage still isn't updated, I'll try to get this done soon. You can build the project and view the test page from your mobile device to see that this is fixed on the master branch.

Hello. It still doesn't work. And on the site you can only download version 0.10.1. I take it this is not the latest version? What needs to be changed in the code to fix this bug?

nedredmond commented 5 months ago

Instead of installing through NPM, can you try using a git URL to get the latest version?

https://docs.npmjs.com/cli/v10/configuring-npm/package-json#github-urls

Note that I can't guarantee this will work or fix your issue. If you encounter problems, you may want to point to a previous commit.

Nenado commented 5 months ago

@Nenado the homepage still isn't updated, I'll try to get this done soon. You can build the project and view the test page from your mobile device to see that this is fixed on the master branch.

Hello. It still doesn't work. And on the site you can only download version 0.10.1. I take it this is not the latest version? What needs to be changed in the code to fix this bug?

I haven't tested recently on Android. nto sure what is the state of issue.