This commit is contained in:
Tom Nunn 2023-01-19 13:35:18 +00:00
parent cf7e5bd948
commit e99b5820c0
4 changed files with 5 additions and 5 deletions

View File

@ -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.0.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.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).

View File

@ -3,7 +3,7 @@
"name": "nunntom/elm-ui-select",
"summary": "A select widget for Elm Ui",
"license": "BSD-3-Clause",
"version": "3.0.0",
"version": "3.1.0",
"exposed-modules": [
"Select",
"Select.Filter",

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "elm-ui-select",
"version": "1.0.0",
"version": "3.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elm-ui-select",
"version": "1.0.0",
"version": "3.0.0",
"license": "BSD-3-Clause",
"devDependencies": {
"elm": "^0.19.1-5",

View File

@ -1,7 +1,7 @@
{
"name": "elm-ui-select",
"description": "A select widget for elm-ui.",
"version": "3.0.0",
"version": "3.1.0",
"scripts": {
"test": "cd examples && elm-test && cd ../",
"review": "elm-review",