We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effd224 commit b6f2c57Copy full SHA for b6f2c57
packages/table/changelog/@unreleased/pr-7475.v2.yml
@@ -0,0 +1,5 @@
1
+type: improvement
2
+improvement:
3
+ description: Default copy selection when highlighting text in table cell
4
+ links:
5
+ - https://github.com/palantir/blueprint/pull/7475
packages/table/src/tableHotkeys.ts
@@ -452,7 +452,7 @@ export class TableHotkeys {
452
const { getCellClipboardData, onCopy } = this.props;
453
const { selectedRegions } = this.state;
454
455
- if (getCellClipboardData == null || this.grid === undefined) {
+ if (getCellClipboardData == null || this.grid === undefined || window.getSelection()?.toString()) {
456
return;
457
}
458
0 commit comments