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
constoriginalModel=monaco.editor.createModel(/* set from `originalModel`: */`hello worldasdfa`,"text/plain");constmodifiedModel=monaco.editor.createModel(/* set from `modifiedModel`: */`Hello World!asdfo`,"text/plain");constdiffEditor=monaco.editor.createDiffEditor(document.getElementById("container"),{originalEditable: false,automaticLayout: false,glyphMargin: true,});diffEditor.setModel({original: originalModel,modified: modifiedModel,});
Reproduction Steps
Paste provided code into playground
Actual (Problematic) Behavior
From version 0.48.0 are revert buttons rendered on top of editor.
Expected Behavior
Revert buttons are rendered in correct height on modified lines
Additional Context
No response
The text was updated successfully, but these errors were encountered:
yanny7
changed the title
[Bug] DiffEditor renders revert buttons on top of editor, instead on changed line
[Bug] DiffEditor renders revert buttons on top of editor
May 17, 2024
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.48.0#XQAAAAI5AgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0sePKVciAJM8XEuX7Os378jBGtVLkr6ryuhqvky-XZ9Sy0vyFSI1m9lYQpwqOsaKmhydYWIo-9hGbv_4wlPIsEpVooDN3UCCmiQC5FjKPxzaxh5hrHBH_dDuy7gpl4xVrSKRXH-NmrPZoJzyFwC-UYLbA8Z84Bw5ZNPVFqM9fExq8cqCEwa9UoLotEqB7tH53vSyKw2myEX6Vk0efXw6arZvrQDPiuU1wUw5GpDvAxxBaBFN7YtwdjV5am9PIELafk_5c10kI3mLLevzGbYJF7DN1oyZf7AZHZlVeJvaf7s49WDtWWJNtfYQpR3ZJls3-wPokm9adpH-9unhBw
Monaco Editor Playground Code
Reproduction Steps
Paste provided code into playground
Actual (Problematic) Behavior
From version 0.48.0 are revert buttons rendered on top of editor.
Expected Behavior
Revert buttons are rendered in correct height on modified lines
Additional Context
No response
The text was updated successfully, but these errors were encountered: