-
Notifications
You must be signed in to change notification settings - Fork 25
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
Repeating inputing newline character makes cursor exceeds the bottom range. #61
Comments
Thanks for this very detailed description - I should be able to implement and test the fix by this weekend. It's an amazing idea to put a CodePen demo! |
If you want to contribute a fix via a pull request, please let me know; otherwise I will implement it. |
Thank you for your invitation <3 ! However, I'm not every familiar with both of the two libraries (also front end XD). It can be predicted that tons of times may be spent into fix it and I just haven't that time right now. Thank you. |
That makes sense - I have always been wanting to contribute to some other people's projects but just can't find time! |
@Ziqi-Yang, thank you again for your contribution; it has now been released in version 2.1.0. You can use the code you already have but please change any instances of Have a great week! |
Thanks, you too! |
demo:
https://codepen.io/ziqi-yang/pen/rNPNgeO
used framework: code-input with prism.js
code input enabled plugins: Indent
prism.js enabled plugins: prism-autoloader prism-line-numbers
description:
In chromium (my version: Chromium 118.0.5993.88 Arch Linux), when you hit "Enter" repeatedly, you can see the cursor exceed the bottom range of code-input, then you need to scroll to the end or input some characters other than "Enter". In firefox developer version 119.0b9, the behavior seems fine.
caused reason:
font-size: 20px;
style forcode-input
The text was updated successfully, but these errors were encountered: