Skip to content

fix(cdk/drag-drop): resolve incompatibility with property minification #28980

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

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

crisbeto
Copy link
Member

Fixes that the showPopover call was being minified by Closure and preventing the popover from opening.

Fixes that the `showPopover` call was being minified by Closure and preventing the popover from opening.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Apr 30, 2024
@crisbeto crisbeto requested a review from andrewseguin April 30, 2024 09:20
@crisbeto crisbeto added the G This is is related to a Google internal issue label Apr 30, 2024
Copy link
Contributor

@andrewseguin andrewseguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but surprised this is necessary - isn't this a browser API? I wouldn't expect this function name to be minified

@crisbeto
Copy link
Member Author

I'm a bit surprised as well, but I checked locally that it resolves the issue. My best guess is that typings are outdated somewhere so the compiler didn't know not to minify it.

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 30, 2024
@crisbeto crisbeto merged commit 58fa9b7 into angular:main Apr 30, 2024
crisbeto added a commit that referenced this pull request Apr 30, 2024
#28980)

Fixes that the `showPopover` call was being minified by Closure and preventing the popover from opening.

(cherry picked from commit 58fa9b7)
crisbeto added a commit that referenced this pull request Apr 30, 2024
#28980)

Fixes that the `showPopover` call was being minified by Closure and preventing the popover from opening.

(cherry picked from commit 58fa9b7)
gisbdzhch pushed a commit to gisktzh/gb3-web_ui that referenced this pull request May 23, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@angular/cdk](https://github.com/angular/components) | [`17.3.6` -> `17.3.7`](https://renovatebot.com/diffs/npm/@angular%2fcdk/17.3.6/17.3.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@angular%2fcdk/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@angular%2fcdk/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@angular%2fcdk/17.3.6/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@angular%2fcdk/17.3.6/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@angular/material](https://github.com/angular/components) | [`17.3.6` -> `17.3.7`](https://renovatebot.com/diffs/npm/@angular%2fmaterial/17.3.6/17.3.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@angular%2fmaterial/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@angular%2fmaterial/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@angular%2fmaterial/17.3.6/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@angular%2fmaterial/17.3.6/17.3.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>angular/components (@&#8203;angular/cdk)</summary>

### [`v17.3.7`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#1737-plastic-deer-2024-05-02)

[Compare Source](angular/components@17.3.6...17.3.7)

##### cdk

| Commit | Type | Description |
| -- | -- | -- |
| [3c8abfb990](angular/components@3c8abfb) | fix | **drag-drop:** remove preview wrapper |
| [a03a47c938](angular/components@a03a47c) | fix | **drag-drop:** reset user agent color on preview popover |
| [8e3dfd2e5b](angular/components@8e3dfd2) | fix | **drag-drop:** resolve incompatibility with property minification ([#&#8203;28980](angular/components#28980)) |

<!-- CHANGELOG SPLIT MARKER -->

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled because a matching PR was automerged previously.

♻ **Rebasing**: Whenever PR becomes conflicted, or rename PR to start with "rebase!".

🔕 **Ignore**: Close this PR and you won't be reminded about t...
@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 May 31, 2024
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 G This is is related to a Google internal issue target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants