We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b62a1 commit 66afde5Copy full SHA for 66afde5
src/cdk/drag-drop/preview-ref.ts
@@ -64,8 +64,9 @@ export class PreviewRef {
64
parent.appendChild(this._wrapper);
65
66
// The null check is necessary for browsers that don't support the popover API.
67
- if (this._wrapper.showPopover) {
68
- this._wrapper.showPopover();
+ // Note that we use a string access for compatibility with Closure.
+ if ('showPopover' in this._wrapper) {
69
+ this._wrapper['showPopover']();
70
}
71
72
0 commit comments