mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-25 07:04:26 +08:00
Fix: disabled content being copied on keyDown action (#2716)
* fix: disabled content being copied on keyDown action * chore: tab index and role is updated * fix: reverted lodash changes --------- Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
parent
fb10d7d81f
commit
e7f5adc8a9
@ -22,7 +22,7 @@ function CopyClipboardHOC({
|
||||
}, [setCopy, textToCopy]);
|
||||
|
||||
return (
|
||||
<span onClick={onClick} onKeyDown={onClick} role="button" tabIndex={0}>
|
||||
<span onClick={onClick} role="presentation" tabIndex={-1}>
|
||||
<Popover
|
||||
placement="top"
|
||||
content={<span style={{ fontSize: '0.9rem' }}>Copy to clipboard</span>}
|
||||
|
Loading…
x
Reference in New Issue
Block a user