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

Typing an open parenthesis puts cursor behind the parenthesis character #15798

Closed
ByThePowerOfScience opened this issue Feb 13, 2024 · 2 comments
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage

Comments

@ByThePowerOfScience
Copy link

Description

Whenever I type an open-parenthesis in a code cell, the cursor gets placed behind the open-paren instead of in front of it. This also occurs with the Matched Brackets setting enabled, placing it behind the matched parentheses instead of between them.

However, this only occurs when typing statements on the top level; inside other parentheses, the cursor gets placed as normal.

See recording for example:

Screen.Recording.2024-02-13.at.4.24.45.PM.mov

Reproduce

  1. Type an open parenthesis ('(') character.

Expected behavior

Cursor should be placed after the parenthesis character.

Context

See #15797.

Logs

JS Console, troubleshoot, etc. do not have any notable output.

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Feb 13, 2024
@JasonWeill
Copy link
Contributor

Do you have the "auto close brackets" setting enabled? Without it enabled, as is the default, I just see ( when I press (, and with it on, I see () with the cursor inside the parentheses when I press (.

The related item suggests you're using Firefox on macOS, which I am as well, although I'm using the ESR version. Do you still see the problem in any other browsers, or if you disable extensions in Firefox?

@ByThePowerOfScience
Copy link
Author

ByThePowerOfScience commented Feb 25, 2024

The related item suggests you're using Firefox on macOS, which I am as well, although I'm using the ESR version. Do you still see the problem in any other browsers, or if you disable extensions in Firefox?

Huh. Yeah, looks like it was caused by the Word Replacer extension I just started using. Looking at the reviews, it seems it has problems with things using React, which would also explain the awful errors I've been getting with Outlook lately. Guess I'll be uninstalling that, which stinks because now I have to sift through the wall of course numbers my college gives me again. Can't be helped, I suppose.

Thank you so much for the help!

Issue closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants