angular / angular/components

CDK Platform always return true for ANDROID for all platform

オープン
#20,624 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: cdk/platform help wanted P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

`"@angular/cdk": "9.2.4"`

```
console.log('PLATFORMS');
console.log(this.platform.ANDROID);
console.log(this.platform.BLINK);
console.log(this.platform.EDGE);
console.log(this.platform.FIREFOX);
console.log(this.platform.IOS);
console.log(this.platform.isBrowser);
console.log(this.platform.SAFARI);
console.log(this.platform.TRIDENT);
console.log(this.platform.WEBKIT);
```
![image](https://user-images.githubusercontent.com/16483904/93839828-5ba5dc80-fcb8-11ea-97e4-3dae1a475271.png)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ブラウザー環境で列挙された this.platform プロパティをログに記録し、@angular/cdk 9.2.4 で報告を再現します。まず CDK Platform の実装とプラットフォーム検出テストを見つけ、次に関連するブラウザー全体で報告された ANDROID の値を他の検出フラグと比較します。ANDROID がすべてのプラットフォームで true になることがなく、回帰がテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。