Merge pull request #21985 from yu-kkurii/fix-link-clipboard-copy

Fix Link clipboard copy
This commit is contained in:
Fredrik Adelöw
2023-12-22 12:10:56 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fixed bug in Link where it was possible to select and copy a hidden element into clipboard
@@ -42,6 +42,7 @@ const useStyles = makeStyles(
clipPath: 'inset(50%)',
overflow: 'hidden',
position: 'absolute',
userSelect: 'none',
whiteSpace: 'nowrap',
height: 1,
width: 1,