mirror of
https://github.com/nunntom/elm-ui-select.git
synced 2024-11-22 21:19:26 +03:00
Merge branch 'master' into v4.0.0
This commit is contained in:
commit
0fda282e79
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 3.1.1
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Optimised filtering. Previously filtering ran every time the virtual DOM re-rendered the select. This caused performance issues with large lists of items. Now the filter only runs when the input or options are changed.
|
||||
- Filter startsWithThenContains now uses a faster implementation.
|
||||
|
||||
## 3.1.0
|
||||
|
||||
### New features
|
||||
|
@ -87,4 +87,4 @@ view countries model =
|
||||
|
||||
## Limitations
|
||||
|
||||
There are issues when the input is placed within a parent element that has overflow scroll or auto: the menu may be clipped by the parent. This can be overcome by using [Select.withMenuPositionFixed](https://package.elm-lang.org/packages/nunntom/elm-ui-select/3.1.0/Select/#withMenuPositionFixed), but if the parent also has a transform applied, it gets clipped again. This means any parent with e.g. Element.scrollBarY + Element.moveDown/moveLeft etc. can cause issues. This is due to [a feature of the current CSS spec](https://bugs.chromium.org/p/chromium/issues/detail?id=20574).
|
||||
There are issues when the input is placed within a parent element that has overflow scroll or auto: the menu may be clipped by the parent. This can be overcome by using [Select.withMenuPositionFixed](https://package.elm-lang.org/packages/nunntom/elm-ui-select/3.1.1/Select/#withMenuPositionFixed), but if the parent also has a transform applied, it gets clipped again. This means any parent with e.g. Element.scrollBarY + Element.moveDown/moveLeft etc. can cause issues. This is due to [a feature of the current CSS spec](https://bugs.chromium.org/p/chromium/issues/detail?id=20574).
|
||||
|
2
elm.json
2
elm.json
@ -3,7 +3,7 @@
|
||||
"name": "nunntom/elm-ui-select",
|
||||
"summary": "A select widget for Elm Ui",
|
||||
"license": "BSD-3-Clause",
|
||||
"version": "3.1.0",
|
||||
"version": "3.1.1",
|
||||
"exposed-modules": [
|
||||
"Select",
|
||||
"Select.Filter",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "elm-ui-select",
|
||||
"description": "A select widget for elm-ui.",
|
||||
"version": "3.1.0",
|
||||
"description": "A select widget for elm-ui with keyboard input, filtering, menu scrolling and requests!",
|
||||
"version": "3.1.1",
|
||||
"scripts": {
|
||||
"test": "cd examples && elm-test && cd ../",
|
||||
"review": "elm-review",
|
||||
|
Loading…
Reference in New Issue
Block a user