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(list-slider): add touchmove listener to identifies move #564

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

brunosf
Copy link
Contributor

@brunosf brunosf commented Sep 5, 2024

Infos

Task

What is being delivered?

  • Add touchmove listener to identify and differentiate when there is a gesture of movement or click
  • Add early return to avoid error on removeEventListener undefined

What impacts?

May impact the behavior of changing the position of items within the list-slider component

Reversal plan

Return previous version in NPM and rollback this PR

Evidences

Before

mobile-error.mp4

After

mobile-ok.mp4

@brunosf brunosf added the bug Something isn't working label Sep 5, 2024
@brunosf brunosf self-assigned this Sep 5, 2024
Copy link
Contributor

github-actions bot commented Sep 5, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-09-10 12:53 UTC

@brunosf brunosf changed the title refactor: add touchmove listener to identifies move fix: add touchmove listener to identifies move Sep 5, 2024
@brunosf brunosf changed the title fix: add touchmove listener to identifies move fix(list-slider): add touchmove listener to identifies move Sep 5, 2024
@brunosf brunosf marked this pull request as ready for review September 5, 2024 21:12
@brunosf brunosf merged commit a5ac3d1 into main Sep 10, 2024
2 checks passed
@brunosf brunosf deleted the fix/moving-to-first-position-on-touch-inner-item branch September 10, 2024 12:50
This was referenced Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package/core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants