Skip to content

Commit 1f4ce93

Browse files
fixed auto height on the stream video comp
1 parent 7c1651c commit 1f4ce93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/packages/lowcoder-comps/src/comps/agoraMeetingComp/videoMeetingStreamComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ let VideoCompBuilder = (function () {
225225
{children.profileBorderRadius.propertyView({
226226
label: "Profile Image Border Radius",
227227
})}
228-
{children.videoAspectRatio.propertyView({
228+
{children.videoAspectRatio.propertyView({
229229
label: "Video Aspect Ratio",
230230
})}
231231
{children.style.getPropertyView()}
@@ -239,13 +239,13 @@ let VideoCompBuilder = (function () {
239239

240240
VideoCompBuilder = class extends VideoCompBuilder {
241241
autoHeight(): boolean {
242-
return false;
242+
return this.children.autoHeight.getView();
243243
}
244244
};
245245

246246
export const VideoMeetingStreamComp = withExposingConfigs(VideoCompBuilder, [
247247
new NameConfig("loading", trans("meeting.loadingDesc")),
248248
new NameConfig("profileImageUrl", trans("meeting.profileImageUrl")),
249249

250-
...CommonNameConfig,
250+
...CommonNameConfig,
251251
]);

client/packages/lowcoder-comps/src/comps/agoraMeetingComp/videoSharingStreamComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ let SharingCompBuilder = (function () {
223223

224224
SharingCompBuilder = class extends SharingCompBuilder {
225225
autoHeight(): boolean {
226-
return false;
226+
return this.children.autoHeight.getView();
227227
}
228228
};
229229

0 commit comments

Comments
 (0)