Button click event does not fire on first tap/ click in Safari 13
オープン
まだ誰も着手していません。
area: material/button
needs investigation
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/button-issue-safari13
Resolved by removing fxLayout="column":
https://stackblitz.com/edit/button-issue-safari13-no-fxlayout
Steps to reproduce:
- Open Stackblitz in Safari 13 on iPad, MacBook or iMac.
- Scroll down to buttons at the very bottom
- Click button
- Watch button be cut off at the bottom of the screen
Expected Behavior
Button should fire click event, in case of example Stackblitz a snack bar should appear to show you the click event fired correctly.
Actual Behavior
Click event is not fired first time, page jumps, cutting buttons off the bottom. No snack bar is visible in the example Stackblitz.
Environment
- Angular: 8.2.14
- CDK/Material: 8.2.3
- Browser(s): Safari 13
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、記載されているデバイスの Safari 13 で、リンクされている StackBlitz の再現を開始し、次に fxLayout="column" を削除したバージョンと比較します。ページ下部のボタンの動作を調べ、最初のタップで click イベントが発火して snack bar が表示され、ボタンがジャンプしたり切れたりしないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100