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

EndOfScrollList event for Autocomplete (Infinite scroll list) #2035

Merged
merged 7 commits into from
Dec 9, 2019
Merged

EndOfScrollList event for Autocomplete (Infinite scroll list) #2035

merged 7 commits into from
Dec 9, 2019

Conversation

mateuswetah
Copy link
Contributor

Fixes (partially) #1842

Proposed Changes

  • Add scroll event listener to Autocomplete dropdown list.
  • Emits endOfScrollList() when scroll reaches the end of list.
  • Updates async Autocomplete example to include pagination and an infinite scroll logic.

Not sure if it's all clear. Also, I updated node-sass dependency for providing support to Node 12. Let me know if it is a problem.

@codecov
Copy link

codecov bot commented Nov 28, 2019

Codecov Report

Merging #2035 into dev will decrease coverage by 0.11%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##              dev   #2035      +/-   ##
=========================================
- Coverage   64.11%     64%   -0.12%     
=========================================
  Files          69      69              
  Lines        2469    2478       +9     
  Branches      798     801       +3     
=========================================
+ Hits         1583    1586       +3     
- Misses        816     822       +6     
  Partials       70      70
Impacted Files Coverage Δ
src/components/autocomplete/Autocomplete.vue 82.45% <33.33%> (-4.22%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a2318a8...99278ae. Read the comment docs.

@jtommy jtommy merged commit 250298e into buefy:dev Dec 9, 2019
LeoMouyna pushed a commit to LeoMouyna/buefy that referenced this pull request Jan 6, 2020
* Updates node-sass dependency version to 4.12.0 for Node 12 compatibility.

* Proposes endOfScrollList event logic, aiming infinite scroll requested on buefy#1842.

* Changes endOfScrollList event name to infiniteScroll.

* Adds checkInfiniteScroll prop to control listener of infiniteScroll.

* Revert "Updates node-sass dependency version to 4.12.0 for Node 12 compatibility."

This reverts commit e732dde.

* Kebab notation to event and props.
LeoMouyna pushed a commit to LeoMouyna/buefy that referenced this pull request Jan 6, 2020
* Updates node-sass dependency version to 4.12.0 for Node 12 compatibility.

* Proposes endOfScrollList event logic, aiming infinite scroll requested on buefy#1842.

* Changes endOfScrollList event name to infiniteScroll.

* Adds checkInfiniteScroll prop to control listener of infiniteScroll.

* Revert "Updates node-sass dependency version to 4.12.0 for Node 12 compatibility."

This reverts commit e732dde.

* Kebab notation to event and props.
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.

None yet

2 participants