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 for Scroll to selected item through arrows #50

Closed

Conversation

mariosh346
Copy link
Contributor

@mariosh346 mariosh346 commented Mar 5, 2019

Focus on selectedItemByArrows
Add itemsLimit prop
Fix lint error "You should not mix 'v-for' with 'v-if'"

Issue #39

@mariosh346 mariosh346 changed the title Fix for Scroll to selected item through arrows Fix for Scroll to selected item through arrows https://github.com/iliyaZelenko/vue-cool-select/issues/39 Mar 5, 2019
@mariosh346 mariosh346 changed the title Fix for Scroll to selected item through arrows https://github.com/iliyaZelenko/vue-cool-select/issues/39 Fix for Scroll to selected item through arrows Mar 5, 2019
@mariosh346 mariosh346 force-pushed the arrows_scroll_to_selected branch 3 times, most recently from cea8c12 to c80bfb5 Compare March 5, 2019 13:41
Add itemsLimit prop
Fix lint error "You should not mix 'v-for' with 'v-if'"
@iliyaZelenko
Copy link
Owner

I'll look at it after sleep, thanks for contributing. I will try to make it come out in the next version soon.

iliyaZelenko added a commit that referenced this pull request Mar 7, 2019
added scrollItemsLimit and scrollItemsLimitAddAfterScroll props, fixed bug with items limit (always
20 items)

re #50 and #63
iliyaZelenko added a commit that referenced this pull request Mar 7, 2019
added scrollItemsLimit and scrollItemsLimitAddAfterScroll props, fixed bug with items limit (always
20 items)

re #50 and #63
iliyaZelenko added a commit that referenced this pull request Mar 8, 2019
to scroll to an item if it has moved beyond the scroll bar

re #50
@iliyaZelenko
Copy link
Owner

Thanks for the PR, but it violates the ESlint rules and scrolling through the .focus() does not work.

I made the scrolling pretty smart, I added scrollToItemIfNeeded prop with true by default. You can check my commit aec02ef.

iliyaZelenko added a commit that referenced this pull request Mar 8, 2019
to scroll to an item if it has moved beyond the scroll bar

re #50
iliyaZelenko pushed a commit that referenced this pull request Mar 8, 2019
# [2.7.0](v2.6.1...v2.7.0) (2019-03-08)

### Features

* **items menu:** added scrollToItemIfNeeded with true by default ([cdaa072](cdaa072)), closes [#50](#50)
* **props:** added new prop disableFirstItemSelectOnEnter ([1483b9e](1483b9e)), closes [#53](#53)
iliyaZelenko pushed a commit that referenced this pull request Mar 17, 2019
# [2.8.0](v2.7.0...v2.8.0) (2019-03-17)

### Features

* **items menu:** added scrollToItemIfNeeded with true by default ([aec02ef](aec02ef)), closes [#50](#50)
* **props:** added `input-styles` prop for custom styles on input ([472d176](472d176)), closes [#2](#2)
* **props:** added new prop disableFirstItemSelectOnEnter ([ef56833](ef56833)), closes [#53](#53)
rin4573281133639 added a commit to rin4573281133639/iliyaZelenko9 that referenced this pull request Feb 5, 2022
# [2.7.0](iliyaZelenko/vue-cool-select@v2.6.1...v2.7.0) (2019-03-08)

### Features

* **items menu:** added scrollToItemIfNeeded with true by default ([cdaa072](iliyaZelenko/vue-cool-select@cdaa072)), closes [#50](iliyaZelenko/vue-cool-select#50)
* **props:** added new prop disableFirstItemSelectOnEnter ([1483b9e](iliyaZelenko/vue-cool-select@1483b9e)), closes [#53](iliyaZelenko/vue-cool-select#53)
rin4573281133639 added a commit to rin4573281133639/iliyaZelenko9 that referenced this pull request Feb 5, 2022
# [2.8.0](iliyaZelenko/vue-cool-select@v2.7.0...v2.8.0) (2019-03-17)

### Features

* **items menu:** added scrollToItemIfNeeded with true by default ([aec02ef](iliyaZelenko/vue-cool-select@aec02ef)), closes [#50](iliyaZelenko/vue-cool-select#50)
* **props:** added `input-styles` prop for custom styles on input ([472d176](iliyaZelenko/vue-cool-select@472d176)), closes [#2](iliyaZelenko/vue-cool-select#2)
* **props:** added new prop disableFirstItemSelectOnEnter ([ef56833](iliyaZelenko/vue-cool-select@ef56833)), closes [#53](iliyaZelenko/vue-cool-select#53)
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.

2 participants