code-input icon indicating copy to clipboard operation
code-input copied to clipboard

line numbers disappearing when text exceeds available space horizontally

Open SimonFliegel opened this issue 1 year ago • 1 comments

When the text exceeds the available space horizontally while line numbers are enabled (using prism-line-numbers-plugin) a scrollbar appears for horizontal scrolling as intended. However when scrolling all the way back to the left border the line numbers have disappeared and there is just the border which separates line numbers from code (see picture below). Please let me know when you have trouble reproducing the error. Regards.

Screenshot from 2024-04-19 18-09-47

SimonFliegel avatar Apr 19 '24 16:04 SimonFliegel

Thank you for pointing this out, @SimonFliegel. I am quite busy now but this definitely is near the top of priorities for code-input, and I will let you know when I start working on it.

WebCoder49 avatar Apr 21 '24 13:04 WebCoder49

@SimonFliegel It seems like you might be using version 2.1.0 which does have this error; please could you upgrade to the latest release 2.2 (if you have problems, the upgrading guidance in the dropdown at the link might be useful). I should be releasing version 2.2.2 today/tomorrow so please wait for it if you want an even more stable version with more bugs fixed!

Please let me know if the bugs persist / other new ones appear.

WebCoder49 avatar May 27 '24 13:05 WebCoder49

I will close this issue now but you can reopen it if you have any more questions.

WebCoder49 avatar May 27 '24 13:05 WebCoder49

Sorry for the delay - I started to overhaul the docs and demos before the release, which I probably should have done afterwards! 🫢 I'm pretty sure I will release version 2.3 today, with this fix in it.

WebCoder49 avatar May 30 '24 14:05 WebCoder49