Skip to content
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

fix: allow withEditItems to work with lazyScroll #496

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

joshhowenstine
Copy link
Contributor

@joshhowenstine joshhowenstine commented Mar 27, 2024

Description

An issue was discovered where withEditItems does not integrate smoothly with lazyScroll. This update ensures that the scrolling functionality will pause until the initial item swap transition is complete, thereby preventing any conflict or unexpected behavior during additional logic execution.

Ticket

Testing Instructions

  1. Navigate to the withEditItems story.
  2. Scroll through the row, it should operate as expected.
  3. Press "Enter" to enable edit mode and move the current item. The functionality should remain seamless.
  4. Enable the lazyScroll option in Storybook.
  5. Repeat the above actions. After swapping items, the scrolling animation should now proceed as expected without issues.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Passed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Passed.

Copy link
Contributor

@ImCoolNowRight ImCoolNowRight left a comment

Choose a reason for hiding this comment

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

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants