We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta7e34c9 commit6e9aa66Copy full SHA for 6e9aa66
client/packages/lowcoder/src/comps/comps/rootComp.tsx
@@ -35,6 +35,7 @@ import { useUserViewMode } from "util/hooks";
35
importReactfrom"react";
36
import{isEqual}from"lodash";
37
import{LoadingBarHideTrigger}from"@lowcoder-ee/util/hideLoading";
38
+importclsxfrom"clsx";
39
constEditorView=lazy(
40
()=>import("pages/editor/editorView"),
41
);
@@ -130,7 +131,11 @@ const RootView = React.memo((props: RootViewProps) => {
130
131
}
132
133
return(
-<div{...divProps}style={{height:'100%'}}>
134
+<div{...divProps}
135
+className={clsx(
136
+divProps.id,
137
+)}
138
+style={{height:'100%'}}>
139
<PropertySectionContext.Providervalue={propertySectionContextValue}>
140
<ThemeContext.Providervalue={themeContextValue}>
141
<EditorContext.Providervalue={editorState}>