部分fix
This commit is contained in:
parent
987d818bf2
commit
79ca800035
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue