components icon indicating copy to clipboard operation
components copied to clipboard

bug(COMPONENT): Clipboard does not copy value inside bootstrap 5.2 modal

Open gorden0929 opened this issue 3 years ago • 0 comments

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:

  1. git clone https://github.com/gorden0929/clipboard-bug
  2. npm i
  3. 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

gorden0929 avatar Sep 01 '22 14:09 gorden0929