Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Update docs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrofurtado committed Sep 5, 2018
1 parent 3b44ae2 commit 165f945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/03.configuration/01.options-api/docs.md
Expand Up @@ -49,3 +49,4 @@ This is a list of all the Select 2 configuration options.
| `tokenizer` | callback | | A callback that handles [automatic tokenization of free-text entry](/tagging#automatic-tokenization-into-tags). |
| `tokenSeparators` | array | `[]` | The list of characters that should be used as token separators. |
| `width` | string | `resolve` | Supports [customization of the container width](/appearance#container-width). |
| `scrollAfterSelect` | boolean | `true` | If `true`, resolves issue for multiselects using `closeOnSelect: false` that caused the list of results to scroll to the first selection after each select/unselect (see https://github.com/select2/select2/pull/5150). This behaviour was intentional to deal with infinite scroll UI issues (if you need this behavior, set `false`) but it created an issue with multiselect dropdown boxes of fixed length. This pull request adds a configurable option to toggle between these two desirable behaviours. |

0 comments on commit 165f945

Please sign in to comment.