部分fix

This commit is contained in:
rickcole 2020-05-09 14:18:05 +08:00
parent 5c708b0680
commit c8570d1acd
2 changed files with 6 additions and 2 deletions

View File

@ -92,7 +92,7 @@
}
&-times {
width: $Audio-times-width;
min-width: $Audio-times-width;
margin-right: $Audio-item-margin;
cursor: default;
flex-shrink: 0;

View File

@ -73,7 +73,11 @@ export class Drawer extends React.Component<DrawerProps, DrawerState> {
}
document.body.removeEventListener('click', this.handleRootClick);
document.body.addEventListener('click', this.handleRootClickCapture, true);
document.body.removeEventListener(
'click',
this.handleRootClickCapture,
true
);
}
contentRef = (ref: any) => (this.contentDom = ref);