Skip to content

Commit

Permalink
fix a mistaken removal from removing IE code that causes B95-ZK-4669.…
Browse files Browse the repository at this point in the history
…zul case.
  • Loading branch information
jumperchen committed Jan 9, 2024
1 parent ba03820 commit 591ab81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zul/src/main/resources/web/js/zul/box/Box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,11 @@ export class Box extends zul.Widget {
override resetSize_(orient: zk.FlexOrient): void { //@Overrid zk.Widget#resetSize_, called when beforeSize
super.resetSize_(orient);

// B85-ZK-3516: remove size of frame
var n = this.$n()!;
if (!n.scrollTop && !n.scrollLeft)
this.$n('frame')!.style[orient == 'w' ? 'width' : 'height'] = '';

var vert = this.isVertical(),
k = -1,
szes = this._sizes;
Expand Down

0 comments on commit 591ab81

Please sign in to comment.