-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Inserting new lines with height: auto
container does not scroll added line into view
#1361
Comments
Autoscrolling involves a bit more setup unfortunately to work reliably across browsers. An example is here. |
@jhchen that example has same issue - place cursor at any line and press enter many times. New lines below viewport will not trigger autoscroll to them |
Yes you are right it seems to have broken since I last remember. Thanks for the report. |
The autogrowing example is now working so if you adjust your codepen similarly and use 1.2.3 it should now be resolved. |
@jhchen still does not work with scroll on body
version 1.2.3 |
Now my previous comment that more setup is involved and that the autoscroll example should be helpful is accurate. |
@jhchen what do mean by |
There are relevant CSS rules in the example that are necessary |
@jhchen It looks like people are having issues because they're enclosing the example HTML code within another div, without updating the "scrollable-container" id. |
@dakmau just look at http://codepen.io/anon/pen/MpLBwo ... |
Quill does not handle autoscroll on new lines if container has
height: 100%
and window should be scrolled instead of container.Steps for Reproduction
Expected behavior:
When new line added out of view Quill should autoscroll to it
Actual behavior:
New lines added out of view
Version: 1.2.2
The text was updated successfully, but these errors were encountered: