部分fix

This commit is contained in:
rickcole 2020-05-09 14:18:05 +08:00
parent 987d818bf2
commit 79ca800035
2 changed files with 6 additions and 2 deletions

View File

@ -92,7 +92,7 @@
} }
&-times { &-times {
width: $Audio-times-width; min-width: $Audio-times-width;
margin-right: $Audio-item-margin; margin-right: $Audio-item-margin;
cursor: default; cursor: default;
flex-shrink: 0; 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.removeEventListener('click', this.handleRootClick);
document.body.addEventListener('click', this.handleRootClickCapture, true); document.body.removeEventListener(
'click',
this.handleRootClickCapture,
true
);
} }
contentRef = (ref: any) => (this.contentDom = ref); contentRef = (ref: any) => (this.contentDom = ref);