2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

feat: add autoscroll boolean prop (#1160)

* feat: add autoscroll boolean prop

Fixes #449

* refactor: update autoscroll implementation

Closes #1028
Closes #910

* refactor: only call maybeAdjustScroll in the watcher

* docs: upgrade vuepress
This commit is contained in:
Jeff Sagal
2020-04-12 15:44:52 -07:00
committed by GitHub
parent e65258df97
commit 2eb39087fd
7 changed files with 2364 additions and 1971 deletions
+13
View File
@@ -1,3 +1,16 @@
## autoscroll <Badge text="v3.10.0+" />
When true, the dropdown will automatically scroll to ensure
that the option highlighted is fully within the dropdown viewport
when navigating with keyboard arrows.
```js
autoscroll: {
type: Boolean,
default: true
}
```
## appendToBody <Badge text="v3.7.0+" />
Append the dropdown element to the end of the body