feat(overlay): CDK overlay should use native html dialog element
Feature Description
since there is now the browser native dialog element, cdk overlay can use this to get better browser native behavior.
Use Case
get better browser native behavior.
dialog is fit for dialog element but here popover is a better solution, but still only partially for the main container as popover element does not have something as layer behavior as cdk overlay has
In v21 all the CDK overlays use native popovers by default. It'll likely be tricky to switch the CDK dialog to the native dialog element, because it has the behavior of making everything outside the dialog non-interactive which will break a lot of our internal users.
In v21 all the CDK overlays use native popovers by default. It'll likely be tricky to switch the CDK dialog to the native
dialogelement, because it has the behavior of making everything outside the dialog non-interactive which will break a lot of our internal users.
That's not compleatly true: Dialog have two methods: show() and showModal() and only showModal is making everything else non-interactive.
I think that might disable things like the native focus trapping as well though.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.