@@ -94,9 +94,7 @@ exports[`AnchoredOverlay renders consistently 1`] = `
9494` ;
9595
9696exports [` AnchoredOverlay should render consistently when open 1` ] = `
97- Object {
98- " asFragment" : [Function ],
99- " baseElement" : .c0 {
97+ .c0 {
10098 font - family : - apple - system ,BlinkMacSystemFont ," Segoe UI" ,Helvetica ,Arial ,sans - serif ," Apple Color Emoji" ," Segoe UI Emoji" ;
10199 line - height : 1.5 ;
102100 color : #24292f ;
@@ -235,98 +233,31 @@ Object {
235233 </body >,
236234 "container": <div >
237235 <div
238- class = " BaseStyles__Base-qvuaww-0 ihFkAM"
239- color = " fg.default"
240- data-portal-root = " true"
241- font-family = " normal"
236+ id = " __primerPortalRoot__"
237+ style = " position: absolute; top: 0px; left: 0px;"
242238 >
243- <button
244- aria-haspopup = " true"
245- aria-labelledby = " react-aria-1"
246- class = " ButtonBase-sc-181ps9o-0 Button-xjtz72-0 iRqJHc"
247- id = " react-aria-1"
248- tabindex = " 0"
249- >
250- Anchor Button
251- </button >
252239 <div
253- id = " __primerPortalRoot__"
254- style = " position: absolute; top: 0px; left: 0px;"
240+ style = " position: relative; z-index: 1;"
255241 >
256242 <div
257- style = " position: relative; z-index: 1;"
243+ class = " c2"
244+ data-focus-trap = " active"
245+ height = " auto"
246+ role = " none"
247+ style = " top: 4px; left: 0px; --styled-overlay-visibility: visible;"
248+ width = " auto"
258249 >
259- <div
260- class = " Overlay__StyledOverlay-jhwkzw-0 jFTKwM"
261- data-focus-trap = " active"
262- height = " auto"
263- role = " none"
264- style = " top: 4px; left: 0px; --styled-overlay-visibility: visible;"
265- width = " auto"
250+ <button
251+ class = " focus-visible"
252+ data-focus-visible-added = " "
253+ tabindex = " 0"
254+ type = " button"
266255 >
267- <button
268- class = " focus-visible"
269- data-focus-visible-added = " "
270- tabindex = " 0"
271- type = " button"
272- >
273- Focusable Child
274- </button >
275- </div >
256+ Focusable Child
257+ </button >
276258 </div >
277259 </div >
278260 </div >
279- </div >,
280- " debug" : [Function ],
281- " findAllByAltText" : [Function ],
282- " findAllByDisplayValue" : [Function ],
283- " findAllByLabelText" : [Function ],
284- " findAllByPlaceholderText" : [Function ],
285- " findAllByRole" : [Function ],
286- " findAllByTestId" : [Function ],
287- " findAllByText" : [Function ],
288- " findAllByTitle" : [Function ],
289- " findByAltText" : [Function ],
290- " findByDisplayValue" : [Function ],
291- " findByLabelText" : [Function ],
292- " findByPlaceholderText" : [Function ],
293- " findByRole" : [Function ],
294- " findByTestId" : [Function ],
295- " findByText" : [Function ],
296- " findByTitle" : [Function ],
297- " getAllByAltText" : [Function ],
298- " getAllByDisplayValue" : [Function ],
299- " getAllByLabelText" : [Function ],
300- " getAllByPlaceholderText" : [Function ],
301- " getAllByRole" : [Function ],
302- " getAllByTestId" : [Function ],
303- " getAllByText" : [Function ],
304- " getAllByTitle" : [Function ],
305- " getByAltText" : [Function ],
306- " getByDisplayValue" : [Function ],
307- " getByLabelText" : [Function ],
308- " getByPlaceholderText" : [Function ],
309- " getByRole" : [Function ],
310- " getByTestId" : [Function ],
311- " getByText" : [Function ],
312- " getByTitle" : [Function ],
313- " queryAllByAltText" : [Function ],
314- " queryAllByDisplayValue" : [Function ],
315- " queryAllByLabelText" : [Function ],
316- " queryAllByPlaceholderText" : [Function ],
317- " queryAllByRole" : [Function ],
318- " queryAllByTestId" : [Function ],
319- " queryAllByText" : [Function ],
320- " queryAllByTitle" : [Function ],
321- " queryByAltText" : [Function ],
322- " queryByDisplayValue" : [Function ],
323- " queryByLabelText" : [Function ],
324- " queryByPlaceholderText" : [Function ],
325- " queryByRole" : [Function ],
326- " queryByTestId" : [Function ],
327- " queryByText" : [Function ],
328- " queryByTitle" : [Function ],
329- " rerender" : [Function ],
330- " unmount" : [Function ],
331- }
261+ </div >
262+ </div>
332263` ;
0 commit comments