diff --git a/CHANGELOG.md b/CHANGELOG.md index f13a98b..c9bbdff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Changelog -## 2.1.0 +## 2.1.1 - Added Select.isFocused diff --git a/README.md b/README.md index 4d6e2d2..3796d9c 100644 --- a/README.md +++ b/README.md @@ -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/2.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/2.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). diff --git a/elm.json b/elm.json index 7520c58..6e4beb8 100644 --- a/elm.json +++ b/elm.json @@ -1,22 +1,22 @@ { - "type": "package", - "name": "nunntom/elm-ui-select", - "summary": "A select widget for Elm Ui", - "license": "BSD-3-Clause", - "version": "2.1.0", - "exposed-modules": [ - "Select", - "Select.Filter", - "Select.Effect", - "Select.Request" - ], - "elm-version": "0.19.0 <= v < 0.20.0", - "dependencies": { - "elm/browser": "1.0.0 <= v < 2.0.0", - "elm/core": "1.0.0 <= v < 2.0.0", - "elm/html": "1.0.0 <= v < 2.0.0", - "elm/json": "1.0.0 <= v < 2.0.0", - "mdgriffith/elm-ui": "1.0.0 <= v < 2.0.0" - }, - "test-dependencies": {} + "type": "package", + "name": "nunntom/elm-ui-select", + "summary": "A select widget for Elm Ui", + "license": "BSD-3-Clause", + "version": "2.1.1", + "exposed-modules": [ + "Select", + "Select.Filter", + "Select.Effect", + "Select.Request" + ], + "elm-version": "0.19.0 <= v < 0.20.0", + "dependencies": { + "elm/browser": "1.0.0 <= v < 2.0.0", + "elm/core": "1.0.0 <= v < 2.0.0", + "elm/html": "1.0.0 <= v < 2.0.0", + "elm/json": "1.0.0 <= v < 2.0.0", + "mdgriffith/elm-ui": "1.0.0 <= v < 2.0.0" + }, + "test-dependencies": {} } diff --git a/package.json b/package.json index 6330df0..f883d11 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "elm-ui-select", "description": "A select widget for elm-ui.", - "version": "1.0.0", + "version": "2.1.1", "scripts": { "test": "cd examples && elm-test && cd ../", "review": "elm-review",