Skip to content

Can't select text inside of ViewZone #3862

Closed Answered by Lutymane
Lutymane asked this question in Q&A
Discussion options

You must be logged in to vote

Bruh, solved by setting user-select: text style and setting onmousemove = e => e.stopPropagation() on view zone DOM element. Because another event listener attached by monaco blocks drag selection inside the view zone for some reason...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lutymane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant