mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
fix menu position (#6611)
This commit is contained in:
@@ -129,7 +129,8 @@ class DirColumnView extends React.Component {
|
||||
};
|
||||
|
||||
getMenuContainerSize = () => {
|
||||
return window.getComputedStyle(this.viewModeContainer.current);
|
||||
const { innerWidth, innerHeight } = window;
|
||||
return { width: innerWidth, height: innerHeight };
|
||||
};
|
||||
|
||||
render() {
|
||||
|
Reference in New Issue
Block a user