Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cdk/scrolling): error when querying for CdkVirtualScrollViewport as CdkScrollable #25937

Merged
merged 1 commit into from Nov 8, 2022

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 8, 2022

In an earlier change we started providing the CdkVirtualScrollable through the VIRTUAL_SCROLLABLE token, but the change wasn't reflected in the CdkVirtualScrollViewport which was causing an error.

Fixes #25917.

…as CdkScrollable

In an earlier change we started providing the `CdkVirtualScrollable` through the `VIRTUAL_SCROLLABLE` token, but the change wasn't reflected in the `CdkVirtualScrollViewport` which was causing an error.

Fixes angular#25917.
@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 Nov 8, 2022
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 8, 2022
@crisbeto crisbeto self-assigned this Nov 8, 2022
@crisbeto crisbeto merged commit fcfb99d into angular:main Nov 8, 2022
crisbeto added a commit that referenced this pull request Nov 8, 2022
…as CdkScrollable (#25937)

In an earlier change we started providing the `CdkVirtualScrollable` through the `VIRTUAL_SCROLLABLE` token, but the change wasn't reflected in the `CdkVirtualScrollViewport` which was causing an error.

Fixes #25917.

(cherry picked from commit fcfb99d)
crisbeto added a commit that referenced this pull request Nov 8, 2022
…as CdkScrollable (#25937)

In an earlier change we started providing the `CdkVirtualScrollable` through the `VIRTUAL_SCROLLABLE` token, but the change wasn't reflected in the `CdkVirtualScrollViewport` which was causing an error.

Fixes #25917.

(cherry picked from commit fcfb99d)
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Nov 11, 2022
This PR contains the following updates:

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

---

### Release Notes

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

### [`v14.2.7`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#&#8203;1427-smoke-spirit-2022-11-09)

[Compare Source](angular/components@14.2.6...14.2.7)

##### cdk

| Commit | Type | Description |
| -- | -- | -- |
| [f63918a3b8](angular/components@f63918a) | fix | **scrolling:** error when querying for CdkVirtualScrollViewport as CdkScrollable ([#&#8203;25937](angular/components#25937)) |

##### material

| Commit | Type | Description |
| -- | -- | -- |
| [53588b51d2](angular/components@53588b5) | fix | **stepper:** add HCM disabled styles for stepper and tabs ([#&#8203;25393](angular/components#25393)) ([#&#8203;25932](angular/components#25932)) |
| [a1473b93fc](angular/components@a1473b9) | fix | **stepper:** content not visibile on first navigation when nested in tabs ([#&#8203;25930](angular/components#25930)) |

#### Special Thanks

Douglas Parker, Kristiyan Kostadinov and Wagner Maciel

<!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS4yIiwidXBkYXRlZEluVmVyIjoiMzQuMjIuMSJ9-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1635
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 Dec 9, 2022
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/scrolling): broken CdkScrollable provider of CdkVirtualScrollViewport (non-optional dep)
2 participants