Some symbols not picked up by documentation infrastructure

オープン
#32,783 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
angular, typescript
領域
frontend, testing

調査の方向性

まず、JSDOM テスト環境で MatSelect オーバーレイを閉じる際の失敗を再現し、CSS アニメーションイベント animationend を待機している箇所を追跡します。その経路を、ANIMATION_MODULE_TYPE と provideNoopAnimations() を使用した、提供されている TestBed の回避策と比較します。標準化されたテスト手順を特定して文書化できれば完了です。

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

説明

area: dev-infra docs P3
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

MatSelect waits for a CSS animationend event to close, which never fires in the JSDOM test environment.

  • Zone change detection works
  • Zoneless CD with provideNoopAnimations() works

Since (a) the dependency on the animations package was removed in Sept 2025, and (b) within the animations package, provideNoopAnimations() is scheduled to go away in v23, I am wondering what the recommended path will be.

Our current workaround is to inject ANIMATION_MODULE_TYPE in our tests. e.g.)

await TestBed.configureTestingModule({
  imports: [...],
  providers: [
    provideZonelessChangeDetection(),
    { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' },
  ],
}).compileComponents();
Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

Expected Behavior

A standardized way to test without provideNoopAnimations().

Actual Behavior

Tests that depend on waiting for the mat-select overlay to close fail.

Environment
  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):
主要言語
TypeScript
スター
25k
フォーク
6.9k
平均マージ
2日 7時間
マージ済み PR(30日)
83

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/components のほかの issue

angular/components の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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