Skip to content

Commit

Permalink
STCOM-1307: Pass the isCursorAtEnd property to the textarea props in …
Browse files Browse the repository at this point in the history
…the SearchField component. (#2311)
  • Loading branch information
Dmytro-Melnyshyn authored Jul 2, 2024
1 parent fe2275f commit 28a8080
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Correctly apply supplied `ariaLabelledby` prop in `<MultiSelection`>. Refs FAT-14783.
* Add translation for `<MultiSelection>` dropdown trigger. Refs FAT-14783.
* Apply correct widths for `<MultiSelectOptionsList>`. Refs STCOM-1308.
* Pass the `isCursorAtEnd` property to the textarea props in the `SearchField` component. Refs STCOM-1307.

## [12.1.0](https://github.com/folio-org/stripes-components/tree/v12.1.0) (2024-03-12)
[Full Changelog](https://github.com/folio-org/stripes-components/compare/v12.0.0...v12.1.0)
Expand Down
2 changes: 2 additions & 0 deletions lib/SearchField/SearchField.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const SearchField = (props) => {
newLineOnShiftEnter = false,
inputRef,
indexRef,
isCursorAtEnd = false,
...rest
} = props;

Expand Down Expand Up @@ -175,6 +176,7 @@ const SearchField = (props) => {
onSubmitSearch,
newLineOnShiftEnter,
rows: TEXTAREA_DEFAULT_HEIGHT,
isCursorAtEnd,
};

return {
Expand Down

0 comments on commit 28a8080

Please sign in to comment.