fast icon indicating copy to clipboard operation
fast copied to clipboard

feat: Update fast dialog to take advantage of new platform capabilities

Open scomea opened this issue 3 years ago • 1 comments

We should look at updating our dialog component to take advantage of new platform capabilities like those described in this article - https://web.dev/building-a-dialog-component/.

scomea avatar Jun 09 '22 17:06 scomea

This would be interesting for us as well. We use the Foundation Dialog class and template to implement a Drawer component and behaviors like capturing / returning focus would be helpful.

The screenshot below shows how while the drawer is open I can still tab to the button underneath it which I imagine would be prevented if the dialog template leveraged the native dialog element.

image

rajsite avatar Jun 17 '22 20:06 rajsite