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

Markdown scroll when it's one line #3834

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

Markdown scroll when it's one line #3834

yutuo opened this issue Feb 19, 2016 · 3 comments

Comments

@yutuo
Copy link

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
Copy link
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
Copy link
Author

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
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants