bug: MatButton renders active state when cdkCopyToClipboard is applied
オープン
area: material/button
material spec
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-fw7eev?file=src/app/cdk-clipboard-overview-example.html
Steps to reproduce:
1. Click on the copy button
2. Move the mouse cursor outside of the button area
#### Expected Behavior
Button should not be highlighted after the cursor moves out of its area
#### Actual Behavior
Button stays highlighted
#### Environment
- Angular: 10
- CDK/Material: 10
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Mac
コントリビューションガイド
調査の方向性
リンクされた StackBlitz の再現例を開き、コピー ボタンをクリックしてからカーソルを離すことで、Chrome でその動作を再現します。MatButton と cdkCopyToClipboard の相互作用を調査します。カーソルがボタンの領域を離れた後に、ボタンが強調表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100