microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

[Bug]: Determine if onDidChangeCursorSelection could block navigation behavior for onDidChangeCursorPosition in Monaco Editor #146

Open janechu opened 2 years ago

janechu commented 2 years ago

What happened?

Currently selection blocking is done with a setTimeout. A combination of setTimeout and the use of Monaco Editors onDidChangeCursorSelection (see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneCodeEditor.html#onDidChangeCursorSelection) could be a more performant solution.

What package(s) are causing the problem?

@microsoft/fast-tooling

What browsers are you seeing the problem on?

No response

Relevant log output

No response