We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In deliteful/samples/list/PageableList-ObservableArray.html, run this in the console:
var list = document.querySelector("d-pageable-list"); list.parentNode.removeChild(list); list.placeAt(document.body);
The loading icon will spin endlessly, and the buttons to page the list stop working.
The root issue is that List#attachedCallback() and also delite/StoreMap#attachedCallback() were not designed to be called repeatedly.
List#attachedCallback()
delite/StoreMap#attachedCallback()
List#attachedCallback() assumes that a new query will be starting. It sets busy to true and expects it to be set to false when _initItems() is called:
busy
false
_initItems()
attachedCallback: dcl.superCall(function (sup) { ... this._setBusy(true, true); ... }), ... initItems: function (items) { ... this._setBusy(false, true); ... },
But actually, a new query doesn't start, see ibm-js/delite#435.
The text was updated successfully, but these errors were encountered:
ae3ecd9
wkeese
No branches or pull requests
In deliteful/samples/list/PageableList-ObservableArray.html, run this in the console:
The loading icon will spin endlessly, and the buttons to page the list stop working.
The root issue is that
List#attachedCallback()
and alsodelite/StoreMap#attachedCallback()
were not designed to be called repeatedly.List#attachedCallback()
assumes that a new query will be starting. It setsbusy
to true and expects it to be set tofalse
when_initItems()
is called:But actually, a new query doesn't start, see ibm-js/delite#435.
The text was updated successfully, but these errors were encountered: