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

Modal is rendered empty on the first open #1699

Closed
mvorisek opened this issue Nov 19, 2021 · 0 comments · Fixed by #1765
Closed

Modal is rendered empty on the first open #1699

mvorisek opened this issue Nov 19, 2021 · 0 comments · Fixed by #1765
Assignees

Comments

@mvorisek
Copy link
Member

mvorisek commented Nov 19, 2021

Discovered on atk4/login, I think it is atk4/ui issue.

Steps to reproduce:

  1. checkout Adjust to latest atk4/data login#77
  2. composer install
  3. setup demo database using atk4/login/demos/admin-setup.php
  4. open atk4/login/demos/admin-roles.php
  5. click:
    image
  6. click:
    image
  7. empty modal is shown:
    image

Notes:
a) after the steps above, when you click "x" to close the modal step, it returns to the previous modal, repeating the step 6 then opens the modal correctly
b) issue is repeatable, but only once per unknown reset conditions - I use Firefox, repeatable when browser is clearly started and step 6 is clicked the first time per row record

I think there is some race condition when initializing the model step in JS. I have verified, the data are rendered from the server correctly, but not shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants