components
components copied to clipboard
bug(COMPONENT): Clipboard does not copy value inside bootstrap 5.2 modal
Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Clipboard inside bootstrap 5.2 modal is not working but show success in result.
without modal is working fine.
repo to reproduce bug
Reproduction
Steps to reproduce:
- git clone https://github.com/gorden0929/clipboard-bug
- npm i
- ng serve
Expected Behavior
copy the value to clipboard.
Actual Behavior
show success but doesnt copy the value to clipboard.
Environment
- Angular: 14.2.1
- CDK/Material: 14.2.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11