Skip to content

Commit

Permalink
fix for modals launched from Popper items (topology context menu)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-phillips-18 committed Apr 15, 2020
1 parent f0c00d2 commit 8c526e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ const withNoDrop = () => {
const withContextMenu = <E extends GraphElement>(actions: (element: E) => React.ReactElement[]) => {
return withTopologyContextMenu(
actions,
document.getElementById('modal-container'),
document.getElementById('popper-container'),
'odc-topology-context-menu',
);
};
Expand Down
1 change: 1 addition & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

<body class="pf-m-redhat-font">
<noscript>JavaScript must be enabled.</noscript>
<div id="popper-container"></div>
<div id="modal-container"></div>
<div id="app"></div>
</body>
Expand Down

0 comments on commit 8c526e1

Please sign in to comment.