bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1122384454
##########
airflow/www/static/js/dag/index.tsx:
##########
@@ -30,13 +31,24 @@ import Main from "./Main";
// create shadowRoot
const root = document.querySelector("#root");
const shadowRoot = root?.attachShadow({ mode: "open" });
+
const cache = createCache({
container: shadowRoot,
key: "c",
});
const mainElement = document.getElementById("react-container");
if (mainElement) {
+ const styleTag = document.createElement("style");
+ // We need to set the z-index manually to make sure edges inside of groups
still work
+ let style = reactFlowStyle.toString();
+ style += `
Review Comment:
Fixed with your `defaultEdgeOptions={{ zIndex: 1 }}` suggestion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]