Skip to content

Conversation

@colebemis
Copy link
Contributor

@colebemis colebemis commented Nov 2, 2022

Removing the delay between when async loading starts and when we display a loading indicator as requested by @jscholes in his sign-off review:

When a placeholder node indicates that items are being asynchronously loaded, there seems to be a small delay between the parent node being expanded, and the placeholder node being rendered. ... it's important that it be removed, and that the rendering node be present/focusable as soon as the parent node is expanded.

Before

CleanShot.2022-11-02.at.11.03.05.mp4

After

CleanShot.2022-11-02.at.11.01.58.mp4

cc @jdrush89 I know the previous behavior was intentional but it seems to impact the accessibility of the component.

@changeset-bot
Copy link

changeset-bot bot commented Nov 2, 2022

🦋 Changeset detected

Latest commit: 6a64027

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 78.87 KB (0%)
dist/browser.umd.js 79.51 KB (0%)

@colebemis colebemis temporarily deployed to github-pages November 2, 2022 18:00 Inactive
@colebemis colebemis temporarily deployed to github-pages November 2, 2022 18:12 Inactive
@colebemis colebemis marked this pull request as ready for review November 2, 2022 18:38
@colebemis colebemis requested review from a team and JoshBowdenConcepts November 2, 2022 18:38
@colebemis colebemis requested review from joshblack and removed request for JoshBowdenConcepts November 2, 2022 18:39
@colebemis colebemis temporarily deployed to github-pages November 2, 2022 18:44 Inactive
@colebemis colebemis added the component: TreeView Issues related to the TreeView component label Nov 2, 2022
@colebemis colebemis temporarily deployed to github-pages November 2, 2022 19:24 Inactive
@colebemis colebemis merged commit 60c36f5 into main Nov 2, 2022
@colebemis colebemis deleted the treeview-remove-loading-delay branch November 2, 2022 21:20
@primer-css primer-css mentioned this pull request Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: TreeView Issues related to the TreeView component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants