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

Scroll jumps to the bottom #355

Closed
RomanPerin opened this issue Nov 8, 2017 · 3 comments
Closed

Scroll jumps to the bottom #355

RomanPerin opened this issue Nov 8, 2017 · 3 comments

Comments

@RomanPerin
Copy link

Expected behavior

If you scroll with a mouse, scroll should stay in a place where you stopped scrolling.

Actual behavior

If you scroll with a mouse, scroll jumps to the bottom.

Steps to reproduce

  1. type a lot of commands to be able to see a scroll;

  2. click on terminal output;

  3. try to scroll with a mouse by bragging thumb of scrollbar;

  4. after stop dragging (mouse up), scroll jumps to the bottom;

Important:

It seems like it is regression issue caused by fix of problems with a focus;

Also, it is reproduce-able in pair with jquery-ui.draggable (jquery-ui version: 1.12.1, jquery.terminal version: 1.9.0).

Here is the demo in codepen.

Browser and OS

OS: Mac Sierra 10.12.6

browsers:

  1. Chrome 61.0.3163.100 (Official Build) (64-bit)
  2. FireFox 56.0.2
jcubic added a commit that referenced this issue Nov 8, 2017
@jcubic
Copy link
Owner

jcubic commented Nov 8, 2017

Fixed in devel branch.

@RomanPerin
Copy link
Author

Cool! thx! It works fine for me)

@jcubic
Copy link
Owner

jcubic commented Nov 9, 2017

Released in version 1.10.1

@jcubic jcubic closed this as completed Nov 9, 2017
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