AlaskaAirlines / auro-dialog

Custom element that displays additional information over page content
https://auro.alaskaair.com/components/auro/dialog
Apache License 2.0
0 stars 0 forks source link

Popover and dropdown content is cut off inside of Dialog #20

Closed ethanwmiller closed 1 month ago

ethanwmiller commented 2 months ago

Please verify the version of auro-dialog you have installed

1.0.9

Please describe the bug

Inside of a dialog, the content of a popover that exceeds the boundaries of the dialog is cut off. Also, if a dropdown is expanded inside of the dialog, you have to scroll to see the contents of the dropdown, which is not a good user experience.

Reproducing the error

  1. Go to the auro documentation site: https://auro.alaskaair.com/components/auro/dialog/api
  2. Click on the "Open dialog with popover" example
  3. Hover over the popover trigger
  4. See that the popover is cut off by the edge of the dialog
  5. Type the letter "a" into the text input so that a dropdown of suggestions appears
  6. See that the dropdown is hidden and requires scrolling to see

Expected behavior

The popover text should be completely visible, not cut off by the dialog. Additionally, the dropdown shouldn't require scrolling to see the options. (Included a screenshot from my team's app where this is happening, but the same behavior happens on the doc site)

Screen Shot 2024-08-28 at 3 14 51 PM Screen Shot 2024-08-28 at 4 55 26 PM

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Additional context

The doc site appears to still be on version 1.0.8, but I tested version 1.0.9 locally and saw the same problem

Exit criteria

No response

Patrick-Daly-AA commented 2 months ago

This is likely to be fixed with the implementation of Native popover: https://github.com/AlaskaAirlines/auro-dropdown/issues/239

Will continue conversations to determine if this needs any other work or "quick fix" to try to address this issue sooner.

Patrick-Daly-AA commented 1 month ago

Floating UI POC was successful. Our next steps will be to integrate that fully into the relevant components and release them. At that time, we will re-test to ensure this issue is fixed, until then, this issue is not able to be fixed.

jason-capsule42 commented 1 month ago

No further tracking is needed here. All fixes are handled within the dropdown component.