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

Unable to type while equation when the horizontal scrollbar appears. #44

Open
jatin-47 opened this issue Oct 2, 2023 · 7 comments
Open

Comments

@jatin-47
Copy link
Contributor

jatin-47 commented Oct 2, 2023

When the equation gets bigger, and the vertical scrollbar appears, you can't use the arrow keys properly.

@hrushikeshrv
Copy link
Owner

Can you give an example of the equation you entered in which the vertical scrollbar appeared? Also, we you on mobile view or desktop view?

@azr-arch
Copy link
Contributor

azr-arch commented Oct 3, 2023

Can you give an example of the equation you entered in which the vertical scrollbar appeared? Also, we you on mobile view or desktop view?

i think its because, of overflowing text, they doesnt respect padding in the direction they oveflows, i think i have told you about this

@hrushikeshrv
Copy link
Owner

I'm not sure I understand, I'm not able to replicate this issue. Could you give me some steps for reproducing this issue?

@azr-arch
Copy link
Contributor

azr-arch commented Oct 3, 2023

I'm not sure I understand, I'm not able to replicate this issue. Could you give me some steps for reproducing this issue?

try tagging him, also cant reproduce the bug

@jatin-47
Copy link
Contributor Author

jatin-47 commented Oct 4, 2023

slidebar

@azr-arch
Copy link
Contributor

azr-arch commented Oct 5, 2023

@hrushikeshrv does this got anything to do with cursor.js key listeners ?

@hrushikeshrv
Copy link
Owner

This is probably because of MathJax's rendering. I'm afraid there's not much we can do here AFAIK. What is happening is that every time a key is pressed, the equation is re-rendered. So for a split second, the content of that div is removed, and then the new typeset content is inserted. This causes the horizontal scroll position to be reset.

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

3 participants