Skip to content

Popup-menu closes when refresh is called during initial render #877

Open
@marstamm

Description

@marstamm

Describe the Bug

In this Component, the popup menu will close directly when the promise is resolved instantly and the timeout is removed
https://github.com/bpmn-io/refactorings/blob/main/lib/popup-menu/RefactoringsPopupMenuProvider.js#L30-L32

Steps to Reproduce

Steps to reproduce the behavior:

  1. do this
  2. do that

If possible, try to build a test case that reproduces your problem.

Expected Behavior

A clear and concise description of what you expected to happen.

Environment

Please complete the following information:

  • Browser: [e.g. IE 11, Chrome 69]
  • OS: [e.g. Windows 7]
  • Library version: [e.g. 2.0.0]

Metadata

Metadata

Assignees

Labels

backlogQueued in backlogbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions