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

Added the infinite scroll handling (append_data with items' actions) and scroll trigger handling upon dropdown is hidden (scroll_enabled) #351

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nosoccomtothom
Copy link

@nosoccomtothom nosoccomtothom commented Jun 5, 2018

dist/jQuery.easy-autocomplete.js (Updated)

  • Handles dropdown list with infite scrollfunctionality appending data (to_append).
  • Blocks the infinite scroll trigger when updating results or fetching new results (scroll_enabled)
  • AJAX command is defined and updated along the code when needed (ajax_url)
  • Resets the content upon character typed
  • Kept log of amount of items loaded for item actions handling (loaded_results_num)
  • Added scroll protection when dropdown is hidden (ESC or clocking outside)
    demo/example_scroll.html (Created)
  • Inserts bottom scroll handling which triggers an undefined keyup picked
  • Handles the number of records to retrieve and its offset (delta, delta_counter, offset_rows)

dist/jQuery.easy-autocomplete.js (Updated)
 - Handles dropdown list with infite scrollfunctionality appending data (to_append).
 - Blocks the infinite scroll trigger when updating results or fetching new results (scroll_enabled)
 - AJAX command is defined and updated along the code when needed (ajax_url)
 - Resets the content upon character typed
demo/example_scroll.html (Created)
 - Inserts bottom scroll handling which triggers an undefined keyup picked
 - Handles the number of records to retrieve and its offset (delta, delta_counter, offset_rows)
… upon dropdown goes hidden

jquery.easy-autocomplete.js (Updated)
-Kept log of amount of items loaded for item actions handling (loaded_results_num)
-Added scroll protection when dropdown is hidden (ESC or clocking outside)
@nosoccomtothom nosoccomtothom changed the title Added the infinite scroll handling (append data) Added the infinite scroll handling (append_data with items' actions) and scroll trigger handling upon dropdown is hidden (scroll_enabled) Jun 5, 2018
jquery.easy-autocomplete.js (Updated)
jquery.easy-autocomplete.js (Updated)
 - Removed printObject
 - Disable scrolling when pressing ESC key

example_scroll.html
 - Added printObject
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.

1 participant