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

Fix scrolling output (not working post clear_output changes) #4289

Merged
merged 2 commits into from
Oct 4, 2013

Conversation

jdfreder
Copy link
Member

Added a conditional for the append output height reset.

  • My question is, do we still even need to fix the height?
    • Will the supported browsers ever redraw while Javascript is being parsed?

Regression introduced in #4229

by adding a conditional for the append output
height reset.
// Only reset the height to automatic if the height is currently
// fixed (done by wait=True flag on clear_output).
if (needs_height_reset) {
this.element.height('auto');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot you just remove the height value and leave it blank ? this.element.css("height",""); ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think you are right, that should work. I'll test it first just in case.

@jdfreder
Copy link
Member Author

jdfreder commented Oct 3, 2013

@Carreau comment addressed and changes tested.

@Carreau
Copy link
Member

Carreau commented Oct 4, 2013

great, thanks. Merging.

Carreau added a commit that referenced this pull request Oct 4, 2013
Fix scrolling output (not working post clear_output changes)

Regression introduced in #4229
@Carreau Carreau merged commit 4f63d76 into ipython:master Oct 4, 2013
@jdfreder jdfreder deleted the clearoutput branch March 10, 2014 18:42
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Fix scrolling output (not working post clear_output changes)

Regression introduced in ipython#4229
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

Successfully merging this pull request may close these issues.

2 participants