You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Tree multiple level loading support and only count "items" for collection size (#8349)
* Update tree and listlayout to handle multi loaders
* adapting other stories to new loader api and adding useAsync example story
* add tests
* fix story for correctness, should only need to provide a dependecy at the top most collection
* restoring focus back to the tree if the user was focused on the loader
* fixing estimated loader position if sections exist
taken from #8326
* skip test for now
* revert loader keyboard focus specific logic
* pulling over relevant code from focus_loading_spinners
* modify tree to return item count when querying size
* update TableCollection to return just the number of rows as size
also the aria row index and pos in set from empty/isLoading state wrapper since it might be confusing to hear that there are items when the table/tree is empty
* update other collection components to leverage item only count
* clean up
* properly prevent picker from opening where there arent items
* fix lint
* review comments
* review comments
* making the async stories not load forever
* docs: Async load more documentation for RAC (#8431)
* add docs for gridlist
* add async loading docs for GridList and Listbox adjacent components
* add docs example for table
* add prop tables
* rename sentinel component and add prop tables
* adding tree docs for loading spinners
* fix docs lint
* typo and left over stuff
* export the loadMoreItem props from the monopackage
* review comments
* fix the tree example in docs
* review comments
* review comments
* forgot to remove a delay
* review comments
@@ -390,13 +389,13 @@ export const TableBody = /*#__PURE__*/ (forwardRef as forwardRefType)(function T
390
389
// This is because we don't distinguish between loadingMore and loading in the layout, resulting in a different rect being used to build the body. Perhaps can be considered as a user error
391
390
// if they pass loadingMore without having any other items in the table. Alternatively, could update the layout so it knows the current loading state.
0 commit comments