Skip to content

Commit c8f1d01

Browse files
committed
Fix modal ui issue
1 parent f4b4477 commit c8f1d01

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/webflo-runtime/webflo-client/webflo-elements.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,13 +973,18 @@ export class ModalElement extends BaseElement {
973973
974974
:host(._edge-tight._alt-edge-tight) .view {
975975
animation-timing-function: linear;
976-
animation-fill-mode: forwards;
976+
animation-fill-mode: both;
977977
animation-name: radius0;
978978
animation-timeline: --view-scroll;
979979
980980
animation-range: calc(var(--total-minmax-length) - var(--wq-radius)) var(--total-minmax-length);
981981
}
982982
983+
:host(._edge-tight._alt-edge-tight:is(._top:not(._horz), ._left._horz)) .view {
984+
animation-direction: reverse;
985+
animation-range: calc(100% - var(--total-minmax-length)) calc(100% - (var(--total-minmax-length) - var(--wq-radius)));
986+
}
987+
983988
:host(._horz) .view {
984989
overflow-y: hidden;
985990
overflow-x: auto;

0 commit comments

Comments
 (0)