-
Notifications
You must be signed in to change notification settings - Fork 116
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
Elemental area stop rendering after save/publish clicked #1293
Comments
IS this actually distinct from silverstripe/silverstripe-admin#1871? Or are these two actually the same bug just described in different ways? |
Not sure 😅 The PR for this issue is to ensure the code does not call the method |
Okay. Sounds like this issue is specifically about the elemental areas not loading fully after the publish button is pushed (basically a "workaround" issue) whereas the other issue is about the fact that the buttons shouldn't be pushable at all until the page form is fully ready to be submitted. As I mentioned on the other issue I don't know if there's a sensible way to fix that with the current architecture - so this issue does seem worth fixing in its own right. |
PR merged, will be automatically tagged by GitHub Actions |
Module version(s) affected
5.3.3
Description
When a content author is too fast to click the save or publish button before the elemental areas are completely rendered, the buttons get stuck in the loading animation and the elemental area fields don't render.
Related issue: silverstripe/silverstripe-admin#1871
The PR #1294 seems to resolve the issue in
silverstripe-admin
How to reproduce
/admin/graphql
for each elemental areacancelled
. The requests may load fast, which makes it hard to replicate. I edited the controllerSilverStripe\GraphQL\Controller
, and addedsleep(1);
toindex
method to slow down the request.map
on nullPossible Solution
#1294
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)PRs
The text was updated successfully, but these errors were encountered: