Skip to content

Conversation

Westbrook
Copy link
Contributor

Description

  • allow detached elements (e.g. document.createElement('div')) to be used as "content" in an overlay

Related Issue

fixes #1540

Motivation and Context

Alternatives to rendering into a document fragment when you don't want the overlay content to exist in the DOM when closed should be available.

How Has This Been Tested?

  • unit test
  • story

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Westbrook Westbrook force-pushed the westbrook/overlay-content branch from 6a8b007 to cee02c5 Compare June 29, 2021 23:06
@Westbrook Westbrook merged commit 7a9ac19 into main Jun 30, 2021
@Westbrook Westbrook deleted the westbrook/overlay-content branch June 30, 2021 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Overlay] Support overlaying detached elements

2 participants