A generic overlay that uses a custom position on the screen and captures the keyboard focus when visible.
Note, that the overlay content element is moved to the document body when attached, so that absolute positioning works correctly.
When testing, use getDetachedContainerForAnchor to get the content element:
A generic overlay that uses a custom position on the screen and captures the keyboard focus when visible.
Example