Skip to content

Conversation

@crisbeto
Copy link
Member

Fixes that the CDK dialog wasn't emitting to the closed event when it is detached externally, e.g. by a scroll strategy or a navigation. We had unit tests for this on the Material side, but we had special logic to handle it there.

Fixes #26581.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Feb 12, 2023
@crisbeto crisbeto requested a review from mmalerba February 12, 2023 08:43
@crisbeto crisbeto force-pushed the 26581/dialog-external-detachments branch from 34c529d to 1bb8361 Compare February 21, 2023 07:52
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Feb 21, 2023
@crisbeto crisbeto force-pushed the 26581/dialog-external-detachments branch from 1bb8361 to c82ba26 Compare February 21, 2023 10:52
Fixes that the CDK dialog wasn't emitting to the `closed` event when it is detached externally, e.g. by a scroll strategy or a navigation. We had unit tests for this on the Material side, but we had special logic to handle it there.

Fixes angular#26581.
@crisbeto crisbeto force-pushed the 26581/dialog-external-detachments branch from c82ba26 to 470e3f0 Compare February 21, 2023 10:55
@crisbeto crisbeto merged commit 8f29413 into angular:main Feb 21, 2023
crisbeto added a commit that referenced this pull request Feb 21, 2023
…26608)

Fixes that the CDK dialog wasn't emitting to the `closed` event when it is detached externally, e.g. by a scroll strategy or a navigation. We had unit tests for this on the Material side, but we had special logic to handle it there.

Fixes #26581.

(cherry picked from commit 8f29413)
crisbeto added a commit that referenced this pull request Feb 21, 2023
…26608)

Fixes that the CDK dialog wasn't emitting to the `closed` event when it is detached externally, e.g. by a scroll strategy or a navigation. We had unit tests for this on the Material side, but we had special logic to handle it there.

Fixes #26581.

(cherry picked from commit 8f29413)
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Feb 23, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@angular/cdk](https://github.com/angular/components) | dependencies | minor | [`15.1.5` -> `15.2.0`](https://renovatebot.com/diffs/npm/@angular%2fcdk/15.1.5/15.2.0) |
| [@angular/material](https://github.com/angular/components) | dependencies | minor | [`15.1.5` -> `15.2.0`](https://renovatebot.com/diffs/npm/@angular%2fmaterial/15.1.5/15.2.0) |

---

### Release Notes

<details>
<summary>angular/components</summary>

### [`v15.2.0`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#&#8203;1520-sodalite-soda-2023-02-22)

[Compare Source](angular/components@15.1.6...15.2.0)

##### cdk

| Commit | Type | Description |
| -- | -- | -- |
| [62bd54e8e](angular/components@62bd54e) | feat | **testing:** add method to set the text of an element |

##### material

| Commit | Type | Description |
| -- | -- | -- |
| [b42650c88](angular/components@b42650c) | feat | **chips:** add test harness support for edit input |
| [5e96eb04c](angular/components@5e96eb0) | fix | **chips:** add opt-out for single-select checkmarks ([#&#8203;26338](angular/components#26338)) |
| [46cfbe566](angular/components@46cfbe5) | fix | **core:** add checkmark for single-select ([#&#8203;25962](angular/components#25962)) |

#### Special Thanks

Amy Sorto, Hamza jayri, Jonas Brems, Kristiyan Kostadinov, Miles Malerba, Paul Gschwendtner, Wagner Maciel and Zach Arend

<!-- CHANGELOG SPLIT MARKER -->

### [`v15.1.6`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#&#8203;1516-fluorite-floss-2023-02-22)

[Compare Source](angular/components@15.1.5...15.1.6)

##### cdk

| Commit | Type | Description |
| -- | -- | -- |
| [248c41221](angular/components@248c412) | fix | **dialog:** not emitting closed event on external detachments ([#&#8203;26608](angular/components#26608)) |

##### material

| Commit | Type | Description |
| -- | -- | -- |
| [277f65a0f](angular/components@277f65a) | fix | **tabs:** disablePagination not working ([#&#8203;26647](angular/components#26647)) |

#### Special Thanks

Joey Perrott and Kristiyan Kostadinov

<!-- CHANGELOG SPLIT MARKER -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDkuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE0OS4wIn0=-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1792
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(cdk/dialog): Closed observable not emitting when closed by navigation

2 participants