Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(feel-popup): allow defining popup container #280

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

pinussilvestrus
Copy link
Contributor

@pinussilvestrus pinussilvestrus commented Sep 7, 2023

Related to #277

This allows to set the parent container of the FEEL popup via a property. The default keeps document.body.

For context: We had problems in the Web Modeler properly cleaning up the popups when navigating outside of the editor (cf. https://camunda.slack.com/archives/C046XS3GGCR/p1693400946971909). For example, in the forms editor, we can set the container to the Form Playground Root.

Cf. to the implementation in form-js as an example of how to use this.

image

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes a lot of sense + works as in other components.

@pinussilvestrus pinussilvestrus merged commit 3271a58 into main Sep 11, 2023
11 of 14 checks passed
@pinussilvestrus pinussilvestrus deleted the feel-popup-container branch September 11, 2023 11:04
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants