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
Rendering of TeX equation is stuck #37
Comments
What do you mean by all equations?? How many TeXViews are you using in a single view?? Have you added required permissions in Manifest? |
All equations means that all the equations in a single view are not rendering, Most do, but others do not. I have 10 equations in one of the views. Two do not render, while the other 8 render. In another view, I have 4 equations. Two render, while the other two do not. In yet another view, where I have 4 equations, all of them render. This is why I asked how many equations would you recommend to have in a single view. Yes, I have added the required permissions in the Android Manifest. I also cleared the app's cache (on the device), uninstalled and reinstalled the app, but the problem persists. |
Can you share your code?? So I can reproduce your issue for debugging. |
I'm also having kinda similar problem, sometimes it renders sometimes throws error code: class QuestionWidget extends StatelessWidget { @OverRide |
@Sahejmaharjan1 Did you try this?? |
yes i did @shah-xad.... can we render the whole string of list at first and display the rendered list without loading? |
@shah-xad Ive attached the code and related assets as a zip file. Sorry if the code is noobish |
@flutternoob I just checked your code, and I found that you are using so many TeXView in a single Page which is not recommended as TeXView is based on
You should have basic HTML and CSS knowledge to accomplish this. |
@Sahejmaharjan1 I think your issue is related to hot reloading on TeXView page, just use hot restart. It's not our issue it's related to flutter. |
@shah-xad OK, thanks. I am curious though, was webview the only way to implement the flutter_tex library? Or did you find any other way to implement the library, but found Webview better? |
@shah-xad I am so sorry but currently we haven't any other choice because Katex and MathJax both are Javascript libraries and it's not possible to use them without webview. Although I am working on this to render multiple views. Soon I'll release a new version. |
I tried to improve the flutter_tex and updated it to 3.5.0 version please check it and be careful there are API changes please do check the example before proceeding. |
@shah-xad Thank you for the update. I will look into it. |
have you solved your issue? |
I am closing this, If you still have an issue you can create a new issue. |
After upgrading the package, all the equations are not getting rendered in the release version of the app. They were rendering before the upgrade. Most equations render, while for others, the progress indicator is shown and rendering does not take place, whether there are few or many equations. I was also wondering what is the maximum number of equations you recommend that should be in a given screen. Thanks.
The text was updated successfully, but these errors were encountered: