mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2489] - Drag and Drop is not operable with keyboard alone (#1235)
* filter out image-viewer for key navigation * cancel keyboard navigation for cdk-overlay-container children
This commit is contained in:
@@ -777,9 +777,9 @@ describe('PreviewComponent', () => {
|
||||
expect(router.navigate).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('should not navigate on keyboard event if target is child of dialog container', () => {
|
||||
it('should not navigate on keyboard event if target is child of cdk overlay', () => {
|
||||
const parent = document.createElement('div');
|
||||
parent.className = 'mat-dialog-container';
|
||||
parent.className = 'cdk-overlay-container';
|
||||
|
||||
const child = document.createElement('button');
|
||||
child.addEventListener('keyup', function(e) {
|
||||
|
Reference in New Issue
Block a user