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

A modal reopens when placed in a block with request loading. #1188

Open
ghost opened this issue May 4, 2022 · 0 comments
Open

A modal reopens when placed in a block with request loading. #1188

ghost opened this issue May 4, 2022 · 0 comments
Labels
Bug Something isn't working

Comments

@ghost
Copy link

ghost commented May 4, 2022

Describe the bug

A modal reopens after being closed when placed in a block with request loading.

To Reproduce

  - id: component
    type: Box
    events:
      onClick:
        - id: box_modal_data
          type: Request
          messages:
            loading: true # this seems to be the problem when the modal is in the box
          params: box_modal_data_table
        - id: open_modal
          type: CallMethod
          params:
            blockId: box_modal
            method: toggleOpen
    blocks:
      - _ref:
          path: box_modal.yaml.njk
          vars:
            id:
              _var: level
            box_modal_title:
              _var: modal_title
            box_modal_content:
              _var: modal_content

Lowdefy Version

Version on which you experienced this issue: 3.23.3.

@ghost ghost added the Bug Something isn't working label May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants