@@ -131,7 +131,7 @@ describe('panelPlacement', () => {
131131
132132 await waitFor ( ( ) => {
133133 expect ( document . querySelector ( '.aa-Panel' ) ) . toHaveStyle ( {
134- top : '124px ' , // TOP + HEIGHT + SCROLL
134+ top : '24px ' , // TOP + HEIGHT
135135 left : '11px' , // LEFT
136136 right : '1890px' , // CLIENT_WIDTH - (LEFT + WIDTH)
137137 width : 'unset' ,
@@ -176,7 +176,7 @@ describe('panelPlacement', () => {
176176
177177 await waitFor ( ( ) => {
178178 expect ( document . querySelector ( '.aa-Panel' ) ) . toHaveStyle ( {
179- top : '124px ' , // TOP + HEIGHT + SCROLL
179+ top : '24px ' , // TOP + HEIGHT
180180 left : '11px' , // LEFT
181181 } ) ;
182182 } ) ;
@@ -218,7 +218,7 @@ describe('panelPlacement', () => {
218218
219219 await waitFor ( ( ) => {
220220 expect ( document . querySelector ( '.aa-Panel' ) ) . toHaveStyle ( {
221- top : '124px ' , // TOP + HEIGHT + SCROLL
221+ top : '24px ' , // TOP + HEIGHT
222222 right : '1890px' , // CLIENT_WIDTH - (LEFT + WIDTH)
223223 } ) ;
224224 } ) ;
@@ -263,7 +263,7 @@ describe('panelPlacement', () => {
263263
264264 await waitFor ( ( ) => {
265265 expect ( document . querySelector ( '.aa-Panel' ) ) . toHaveStyle ( {
266- top : '124px ' , // TOP + HEIGHT + SCROLL
266+ top : '24px ' , // TOP + HEIGHT
267267 left : 0 ,
268268 right : 0 ,
269269 width : 'unset' ,
@@ -336,7 +336,7 @@ describe('panelPlacement', () => {
336336
337337 await waitFor ( ( ) => {
338338 expect ( document . querySelector ( '.aa-Panel' ) ) . toHaveStyle ( {
339- top : '124px ' , // TOP + HEIGHT + SCROLL
339+ top : '24px ' , // TOP + HEIGHT
340340 left : '11px' , // LEFT
341341 right : '1890px' , // CLIENT_WIDTH - (LEFT + WIDTH)
342342 width : 'unset' ,
0 commit comments