This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$animate with ngShow is not working properly when used with Angular Material #12519
Closed
Description
The Plunker Demo shows a Form used with ngShow and custom directives/transcludes.
- If the module ['ngMaterial'] is not included, the Form displays properly
- If the module ngMaterial is included, the Form is not displayed
.ng-hide
is never removed- If the module ngMaterial is included and a custom
ng-show
directive is used, the Form is displayed. - see script.js for the ngShowDirective override
- $animate is not used. Instead element.remove() is used.
This issue references angular/material#3941.
Is this a known $animate bug with remove/add class ? Why would $animate work when ngMaterial is NOT a dependency?