aforemny / aforemny/material-components-web-elm

JS Error opening a modal drawer

オープン
#152 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Elm
スター
93
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

Version 8.0.1

When I click the button that sets `config.drawerOpen` to true, the below error occurs

JS Console
![image](https://user-images.githubusercontent.com/196800/138574308-4cc0a2a8-7193-49fa-96d3-d17781420f95.png)

Ref: https://github.com/aforemny/material-components-web/blob/edcc5c48e7b549224a81709cca2896fe01c76618/packages/mdc-drawer/component.ts#L171

Usage
![image](https://user-images.githubusercontent.com/196800/138574323-aee7042e-c895-4edb-bb31-f36d95a3a4a2.png)

Seems there's a Non-Null Assertion where we should really be handling the null|undefined case.

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

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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