The animation does not seem to work.
<div ng-cloak class="customize-modal text-white" ng-show="isMenuOpened == true">
...
</div>
Here is my css:
.customize-modal {
position: fixed;
left: 0;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.8);
max-width: 100vw;
max-height: 100vh;
overflow: scroll;
padding: 10px;
-webkit-transition: max-width 0.5s linear;
-moz-transition: max-width 0.5s linear;
-o-transition: max-width 0.5s linear;
transition: max-width 0.5s linear;
}
.customize-modal.ng-hide {
max-width: 0px;
}
I just set the $scope.isMenuOpened true and false to display and hide it.