File tree Expand file tree Collapse file tree
packages/vtable/src/event Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export function bindMediaClick(table: BaseTableAPI): void {
108108 const overlay = document . createElement ( 'div' ) ;
109109 overlay . style . width = '100%' ;
110110 overlay . style . height = '100%' ;
111- overlay . style . position = 'absolute ' ;
111+ overlay . style . position = 'fixed ' ;
112112 overlay . style . top = '0' ;
113113 overlay . style . left = '0' ;
114114 overlay . style . backgroundColor = 'rgba(30, 30, 30, 0.4)' ;
@@ -150,7 +150,7 @@ export function bindMediaClick(table: BaseTableAPI): void {
150150 const overlay = document . createElement ( 'div' ) ;
151151 overlay . style . width = '100%' ;
152152 overlay . style . height = '100%' ;
153- overlay . style . position = 'absolute ' ;
153+ overlay . style . position = 'fixed ' ;
154154 overlay . style . top = '0' ;
155155 overlay . style . left = '0' ;
156156 overlay . style . backgroundColor = 'rgba(30, 30, 30, 0.4)' ;
You can’t perform that action at this time.
0 commit comments