Skip to content

Conversation

@abourgoindev
Copy link
Contributor

  • Add prop isLoading to Dropdown

@abourgoindev abourgoindev requested a review from ffffffelix August 7, 2025 12:40
@abourgoindev abourgoindev linked an issue Aug 7, 2025 that may be closed by this pull request
Copy link
Collaborator

@ffffffelix ffffffelix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few feedbacks:

  • Add aria-busy={isLoading ? 'true' : undefined} on the dropdown when the component is loading this attribute must not be present when the component is not loading.
  • Prevent :hover and click when the component is loading
  • Add isLoading to the story TemplateSimple in order to play with the isLoading prop in storybook UI
  • Add a test about isLoading

@ffffffelix ffffffelix added the patch Increment the patch version when merged label Aug 7, 2025
@abourgoindev abourgoindev requested a review from ffffffelix August 7, 2025 13:47
@abourgoindev abourgoindev requested a review from ffffffelix August 7, 2025 14:58
@abourgoindev abourgoindev merged commit a33d947 into develop Aug 8, 2025
7 checks passed
@abourgoindev abourgoindev deleted the dropdown-loading branch August 8, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manage loading state for Drodpown

3 participants