mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
fix(web): remove contenteditable=true from top level element (#922)
Setting `contenteditable=true` causes spurious edits of that element (when pressing dead keys using the BEPO or AZERTY keyboard).
This commit is contained in:
@@ -759,13 +759,7 @@
|
||||
class:capturing-inputs={capturingInputs}
|
||||
style={wrapperStyle}
|
||||
>
|
||||
<div
|
||||
bind:this={screenViewer}
|
||||
class="screen-viewer"
|
||||
style={viewerStyle}
|
||||
contenteditable={isFirefox}
|
||||
onpaste={ffOnPasteHandler}
|
||||
>
|
||||
<div bind:this={screenViewer} class="screen-viewer" style={viewerStyle} onpaste={ffOnPasteHandler}>
|
||||
<canvas
|
||||
bind:this={canvas}
|
||||
onmousemove={getMousePos}
|
||||
|
||||
Reference in New Issue
Block a user