You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed to disable the vertical scroll inside the editor and stretch its height, relative to its content. To solve this problem I was inspired by issue #794, but now I need to solve another one.
Since there is no vertical scroll inside the editor, the scroll can be all over the page due to large content. I want that when I select a range of content in the monaco top-down (as well as bottom-up), I have a scroll triggered on the page as if I were selecting text in a regular block like <p>
I haven't found the appropriate settings in the documentation, so I'd be very happy if someone in the community could tell me how to do this
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
I needed to disable the vertical scroll inside the editor and stretch its height, relative to its content. To solve this problem I was inspired by issue #794, but now I need to solve another one.
Since there is no vertical scroll inside the editor, the scroll can be all over the page due to large content. I want that when I select a range of content in the monaco top-down (as well as bottom-up), I have a scroll triggered on the page as if I were selecting text in a regular block like
<p>
I haven't found the appropriate settings in the documentation, so I'd be very happy if someone in the community could tell me how to do this
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.43.0#XQAAAALNAwAAAAAAAABBqQkHQ5NjdQHsvdk8kt06MSISpIpwxJ8t9JK5Id6XbkZnPXkAklQqo5pKSAfwaGCvbfVFFj4-nOoPW2dH-_SDfQ6VfJiufRag_RExr1aFyo3nHN5MHgu-uWsWdWWV9kzGaW5Gr_z4yfxLyrHtOuwsh2JOUONI0F4nw0RCIxjFmmbykJzn1A5Ub1-sHsTv3IM_f_LLmV-XIY8IGzIJ4HSIhlC-FrzBJNmzsEodSGl-xGfyvNW_7OdijOgDjCLABf-O8_3Q8D82wpWse7kfcD8BY5TFjacx1M-3p1pLic4kgj9LD2nf_0I8ekAj_tOJlSXoFIQVupUmiWQcjR9mU_HKuQc18WJmPeecTNmVzITGtcs46mGXQ5jAcmWzggqWyLyNai135K9omjkX1d0sIGRcUurGE-jq6-4_2LM7EULN1aeUy6BYqmL7ZEY9SJm_i7BXkgnd9FVqg_0L-XwKnK4vYUdVl54p8oWE5j5pF055sNrmkG5ViKyWI3b_8fWLHIbzXfqfNCNa8bBAZKL4NNRMCbkLsgoJ-oF1044-1C6bXF9WtwmnCdsD9FisWZ7Eu75z5SieraDiFAgoJXubSYB2BYXbvH0Gk3IbVfHFYWBghr8l7AeDTETSwFRO6xFvtZpRiz7WFKflHIgO8-Ahvg9QBQ4tnIk0haX9gtdFmJyWGjLUqJaYX5FP5eyXWEa7Zuc6sX6EZ-yWq8wLlVyca2pzOdizTQol9u80LdtuD86S3hDBq_7_nKk
Beta Was this translation helpful? Give feedback.
All reactions