Markdown scroll when it's one line #3834

Closed
yutuo opened this Issue Feb 19, 2016 · 3 comments

Projects

None yet

2 participants

@yutuo
yutuo commented Feb 19, 2016

I tested it at chrome 48.0.2564.109.

  1. Open the site https://codemirror.net/
  2. Delete CodeMirror's text, leave one line(eg.<!-- Create a simple CodeMirror instance -->).
  3. Move mouse to CodeMirror. CodeMirror can scrol.

I'am sorry, My English is poor.

@marijnh
Member
marijnh commented Feb 19, 2016

The demo at http://codemirror.net does not show a scrollbar when there's only a single line in it, neither could I scroll it with the scroll wheel. What kind of scrolling do you mean?

@yutuo
yutuo commented Feb 19, 2016

It's not scrollbar.

When CodeMirror has only a single line, The text in CodeMirror will up and down when the mouse are scrolling
20160219232006
.

I'am sorry, My English is poor.

@marijnh marijnh closed this in ee9890f Feb 19, 2016
@marijnh
Member
marijnh commented Feb 19, 2016

Ah, now I can see it. Attached patch fixes it for me (on Chrome)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment