Merge branch 'hotfix/v2.6.1' into bugfix/Bug69601
This commit is contained in:
commit
a2ee76937e
@ -160,7 +160,7 @@ const EmbeddingPanelComponent = (props: EmbeddingPanelProps) => {
|
||||
);
|
||||
|
||||
const fileConfig = {
|
||||
mode: "viewer",
|
||||
mode: "editor",
|
||||
width: `${widthValue}${dataDimensions[0].label}`,
|
||||
height: `${heightValue}${dataDimensions[1].label}`,
|
||||
frameId: "ds-frame",
|
||||
|
@ -305,7 +305,7 @@ const Editor = ({
|
||||
newConfig.events.onRequestClose = onSDKRequestClose;
|
||||
}
|
||||
|
||||
if (config?.startFilling) {
|
||||
if (config?.startFilling && !IS_ZOOM) {
|
||||
newConfig.events.onRequestStartFilling = () =>
|
||||
onSDKRequestStartFilling?.(t("Common:ShareAndCollect"));
|
||||
}
|
||||
|
@ -124,7 +124,9 @@ const Body = ({
|
||||
|
||||
const onBodyResize = React.useCallback(() => {
|
||||
if (bodyRef && bodyRef.current) {
|
||||
setBodyHeight(bodyRef.current.offsetHeight);
|
||||
setTimeout(() => {
|
||||
setBodyHeight(bodyRef.current!.offsetHeight);
|
||||
}, 20);
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user