Fix web clipboard events in SelectionContainer#2700
Conversation
ca27c8b to
ce698f3
Compare
Introduce the clipTarget element to receive clipboard events for better browser compatibility. Fixes https://youtrack.jetbrains.com/issue/CMP-9508
ce698f3 to
de88e16
Compare
Your Task
You MUST NOT:
Review Scope1. CommentsUse professional and polite language.
|
|
Junie successfully finished! Result: Review Web Clipboard Events Fix in SelectionContainer
|
Some browsers do not dispatch clipboard events to the `<canvas>` element - they don't expect that a canvas would have anything to copy. Introduce the `clipTarget` textarea element to receive clipboard events for better browser compatibility. Fixes https://youtrack.jetbrains.com/issue/CMP-9508 ## Testing This should be tested by QA ## Release Notes ### Fixes - Web - Fix `Ctrl/Cmd + C` (copy) event handling for the selected text wrapped in SelectionContainer
Some browsers do not dispatch clipboard events to the `<canvas>` element - they don't expect that a canvas would have anything to copy. Introduce the `clipTarget` textarea element to receive clipboard events for better browser compatibility. Fixes https://youtrack.jetbrains.com/issue/CMP-9508 ## Testing This should be tested by QA ## Release Notes ### Fixes - Web - Fix `Ctrl/Cmd + C` (copy) event handling for the selected text wrapped in SelectionContainer
Cherry-pick from #2700 Fixes https://youtrack.jetbrains.com/issue/CMP-9508 ## Testing This should be tested by QA ## Release Notes ### Fixes - Web - Fix `Ctrl/Cmd + C` (copy) event handling for the selected text wrapped in SelectionContainer
Some browsers do not dispatch clipboard events to the
<canvas>element - they don't expect that a canvas would have anything to copy.Introduce the
clipTargettextarea element to receive clipboard events for better browser compatibility.Fixes https://youtrack.jetbrains.com/issue/CMP-9508
Testing
This should be tested by QA
Release Notes
Fixes - Web
Ctrl/Cmd + C(copy) event handling for the selected text wrapped inSelectionContainer