1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 15:53:18 +00:00

send UX improvements (#822)

* send UX improvements

* typo
This commit is contained in:
Kyle Spearrin
2021-02-08 16:07:40 -05:00
committed by GitHub
parent 84d03158b5
commit 13a04976fd
4 changed files with 60 additions and 23 deletions

View File

@@ -24,4 +24,10 @@ export class AddEditComponent extends BaseAddEditComponent {
super(i18nService, platformUtilsService, environmentService, datePipe, sendService, userService,
messagingService, policyService);
}
copyLinkToClipboard(link: string) {
// Copy function on web depends on the modal being open or not. Since this event occurs during a transition
// of the modal closing we need to add a small delay to make sure state of the DOM is consistent.
window.setTimeout(() => super.copyLinkToClipboard(link), 500);
}
}