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 the readonly attribute of textarea break the vscode.workspace.onDidChangeTextDocument API #117755 #117758

Merged
merged 3 commits into from Mar 23, 2021

Conversation

Copy link
Contributor

@conwnet conwnet commented Feb 26, 2021

This PR fixes #117755

The readonly attribute is used to disable keyboard popping in mobile devices, but it break the vscode.workspace.onDidChangeTextDocument event.

The extensions who use onDidChangeTextDocument API are breaked on browser version vscode. (For example: Vim)

I think if there an option named platform.isMobile would be better

@microsoft microsoft deleted a comment from microsoft-cla bot Mar 23, 2021
@alexdima
Copy link

@alexdima alexdima commented Mar 23, 2021

Thank you!

--
The CLA is not needed, as the original commit from @conwnet only touched 2 lines.

@alexdima alexdima added this to the March 2021 milestone Mar 23, 2021
@alexdima alexdima merged commit 31987b1 into microsoft:main Mar 23, 2021
6 of 7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants