rhartvig

Results comments of rhartvig

The following workaround seems to work in Chrome, Firefox, Safari and IE: ``` .mat-progress-spinner-indeterminate-animation { /* keep anim slow to avoid wobble from rounding errors */ animation-duration: 9s !important; }...

@blubberbo please check the stackblitz link. Make sure to set ViewEncapsulation.None for styles file or place styles in global styles.scss. Diameter is set. Let me know if demo above works...

This is caused by @angular/animations package failing to clean up cached elements. The issue occurs when both a parent component (in this case dialog-container) and a child component (mat-form-field-hint-wrapper) has...

@njofce , I guess you're using NoopAnimationsModule instead of BrowserAnimationsModule? If so, I guess that doesn't change the offending code paths. IIRC the issue is in packages/animations/browser/src/render/transition_animation_engine.ts (https://github.com/angular/angular/blob/master/packages/animations/browser/src/render/transition_animation_engine.ts) where the...

@jpduckwo , I can offer a workaround that address the leaks I am seeing: https://stackblitz.com/edit/angular-yx1kuw-fgdzjg Notice in dialog component constructor: ``` this.isClosing$ = this.dialogRef.beforeClosed().pipe(mapTo(true)); ``` and surrounding dialog content: ```...

@ex3ndr agree. Sorry for attempting to necro this. @mondaychen , your suggestion makes sense, but imho, conceptually both suggestions are workarounds. If neither derived state nor parameterized atoms are needed,...

@oliviertassinari , as to the code example: ```jsx const MyFlatButton = (props) => ( ); Component.muiName = 'FlatButton'; const AppBarExampleIconButton = () => ( ); ``` Did you mean `MyFlatButton.muiName...

I got the following working with Angular, Material drag and drop and Protractor: ``` private async dragAndDrop(element: WebElement, destination: WebElement) { await browser.actions().mouseDown(element).perform(); await browser.actions().mouseMove(destination).perform(); await browser.actions().mouseUp(destination).perform(); } ``` Also...

came here after wasting half a day on browser.actions().dragAndDrop not working. @pontusnyman , thank you for reporting your workaround! The following works for me using Angular Material drag and drop...

Same issue. Hoping for a quick fix.