mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
remove slideIn animation as it doesn't support the "show animations" setting (#11591)
This commit is contained in:
parent
4b9fbfc832
commit
116d2166c3
@ -1,4 +1,4 @@
|
||||
<popup-page @slideIn>
|
||||
<popup-page>
|
||||
<popup-header
|
||||
slot="header"
|
||||
[backAction]="close"
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { animate, group, style, transition, trigger } from "@angular/animations";
|
||||
import { DIALOG_DATA, DialogConfig, DialogRef } from "@angular/cdk/dialog";
|
||||
import { Overlay } from "@angular/cdk/overlay";
|
||||
import { CommonModule } from "@angular/common";
|
||||
@ -26,16 +25,6 @@ export enum GeneratorDialogAction {
|
||||
Canceled = "canceled",
|
||||
}
|
||||
|
||||
const slideIn = trigger("slideIn", [
|
||||
transition(":enter", [
|
||||
style({ opacity: 0, transform: "translateY(100vh)" }),
|
||||
group([
|
||||
animate("0.15s linear", style({ opacity: 1 })),
|
||||
animate("0.3s ease-out", style({ transform: "none" })),
|
||||
]),
|
||||
]),
|
||||
]);
|
||||
|
||||
@Component({
|
||||
selector: "app-vault-generator-dialog",
|
||||
templateUrl: "./vault-generator-dialog.component.html",
|
||||
@ -48,7 +37,6 @@ const slideIn = trigger("slideIn", [
|
||||
CipherFormGeneratorComponent,
|
||||
ButtonModule,
|
||||
],
|
||||
animations: [slideIn],
|
||||
})
|
||||
export class VaultGeneratorDialogComponent {
|
||||
protected title = this.i18nService.t(this.isPassword ? "passwordGenerator" : "usernameGenerator");
|
||||
|
Loading…
Reference in New Issue
Block a user