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: Fixes tabster behavior around Monaco Editor #2492

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bk201-
Copy link
Contributor

@bk201- bk201- commented Dec 3, 2024

Fixes: #2440

@bk201- bk201- requested review from a team as code owners December 3, 2024 13:29
Copy link
Collaborator

@tnaum-ms tnaum-ms left a comment

Choose a reason for hiding this comment

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

The current version doesn't allow the use of tab when editing documents in the 'Document Editor'. I ran a test for both the NoSQL and the vCore editors. Please confirm whether this is intended.

@bk201-
Copy link
Contributor Author

bk201- commented Dec 5, 2024

@tnaum-ms Fixed, please check it again

@tnaum-ms
Copy link
Collaborator

tnaum-ms commented Dec 5, 2024

I have some bad news, on the first "tab"-press in the document editor, I see this:

image

I can't investigate more at the moment and wanted to let you know ASAP, that's why it's just a screenshot.

@sevoku
Copy link
Member

sevoku commented Dec 17, 2024

I tried the current PR build and can't reproduce the error @tnaum-ms, does it consistently reproduce for you?

The only problem I see is missing support for the "Tab Key Moves Focus" toggle (command: editor.action.toggleTabFocusMode). When enabled, Monaco should not accept the tab key and let the user leave the editor area. The state is also visible in the status bar:
image

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.

Remove hidden input under Monaco Editor
3 participants