mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
118223: Stop space from scrolling down page
This commit is contained in:
@@ -138,6 +138,7 @@ export class ItemBitstreamsComponent extends AbstractItemUpdateComponent impleme
|
||||
// Otherwise we might clear the selection when a different action was intended, e.g. clicking a button or selecting
|
||||
// a different bitstream.
|
||||
if (event.target instanceof Element && event.target.tagName === 'BODY') {
|
||||
event.preventDefault();
|
||||
this.itemBitstreamsService.clearSelection();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user