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

Markdown scroll when it's one line #3834

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

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

This comment has been minimized.

Show comment
Hide comment
@marijnh

marijnh Feb 19, 2016

Member

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?

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

This comment has been minimized.

Show comment
Hide comment
@yutuo

yutuo 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.

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

This comment has been minimized.

Show comment
Hide comment
@marijnh

marijnh Feb 19, 2016

Member

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

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