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

Notebook: Change last cell kind scrolls the editor to top #93600

Closed
rebornix opened this issue Mar 27, 2020 · 1 comment
Closed

Notebook: Change last cell kind scrolls the editor to top #93600

rebornix opened this issue Mar 27, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook verified Verification succeeded
Milestone

Comments

@rebornix
Copy link
Member

Issue Type: Bug

  • Create multiple cells in a notebook, make sure that the height of the document is larger than the viewport
  • Scroll the last cell to the center of the viewport (make sure that the first cell is invisible)
  • Add a new code cell below
  • Escape to move the focus to the cell container
  • Press 'm' to conver it to code cell

The cell should be converted to a code cell but currently the editor scrolls to the very top (scrollTop = 0).

VS Code version: Code - Insiders 1.44.0-insider (6cf3dd9, 2020-03-27T05:28:16.333Z)
OS version: Darwin x64 19.2.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (0.73GB free)
Process Argv -psn_0_1335622
Screen Reader no
VM 0%
Extensions (15)
Extension Author (truncated) Version
comment-tagged-templates bie 0.3.0
github-markdown-preview bie 0.0.2
markdown-emoji bie 0.0.9
markdown-preview-github-styles bie 0.1.6
gitlens eam 10.2.1
vscode-pull-request-github-insiders Git 2020.3.35461
vscode-language-pack-zh-hans MS- 1.44.0
remote-ssh-edit-nightly ms- 2020.3.38340
remote-ssh-nightly ms- 2020.3.38340
js-debug-nightly ms- 2020.3.1617
vsliveshare ms- 1.0.1847
debugger-for-chrome msj 4.12.6
kuskus-extensions-pack ros 1.0.1
kuskus-kusto-language-server ros 1.0.1
kuskus-kusto-syntax-highlighting ros 1.1.8

(4 theme extensions excluded)

@rebornix rebornix self-assigned this Mar 27, 2020
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug notebook labels Mar 27, 2020
@rebornix rebornix added this to the March 2020 milestone Mar 27, 2020
@alexr00
Copy link
Member

alexr00 commented Apr 3, 2020

Press 'm' to conver it to code cell
I don't see anything happen when I press m at this point. Nothing is converted into anything. However, it also doesn't scroll to the top.

@alexr00 alexr00 added the verification-steps-needed Steps to verify are needed for verification label Apr 3, 2020
@roblourens roblourens added verified Verification succeeded and removed verification-steps-needed Steps to verify are needed for verification labels Apr 6, 2020
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants