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

Sorting / Sort Order #5

Open
18 tasks done
ddavisgraphics opened this issue Mar 16, 2020 · 0 comments
Open
18 tasks done

Sorting / Sort Order #5

ddavisgraphics opened this issue Mar 16, 2020 · 0 comments
Assignees

Comments

@ddavisgraphics
Copy link
Contributor

ddavisgraphics commented Mar 16, 2020

Because drag and drop is not accessible(directly) may want to look at another way to sort the fields. However, GitHub does use it so maybe accessible methods can be added or multiple ways of doing it to keep from causing issues.

  • Drag and Drop Event Listener Research

    • created UX/UI Wireframes
    • functional mapping made
    • Accessible choice options for non drag and drop users.
  • Programming the Drag and Drop

    • created a stimulus code pento work on trying events faster
    • learned how to fire the following events
      • drag, dragstart, dragend drop, dragleave, dragover
    • working on the proper data store of the dragged element
    • figure out how to move the element within the dom and delete the original element
    • establish a workable pattern for sorting the items, maybe using an array and array index.
    • create matching touch events for all drag events that way mobile users can use the same functions
    • establish a way for the moving or active item to become keyboard movable
    • Accessible choice options for non drag and drop users.

Bugs Fixed:

  • CSS Padding Bug
  • Pass array of elements to the global scope to use across multiple events
  • Fix the lagging of the drag and drop by switching the elements over from the drop event to the drag over event.
  • Create a representation sort order that also adjust the form if any field is currently active.
@ddavisgraphics ddavisgraphics self-assigned this Mar 23, 2020
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

No branches or pull requests

1 participant