Skip to content

Commit

Permalink
add credit to the idea of textarea resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Nov 23, 2024
1 parent e06c434 commit 289136d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bau-ui/textareaAutosize/textareaAutosize.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const colorsToCss = () =>
`
).join("\n");

// Inspired by https://css-tricks.com/auto-growing-inputs-textareas/#aa-other-ideas

export default function (context, options = {}) {
const { bau, css } = context;
const { textarea, div } = bau.tags;
Expand Down

0 comments on commit 289136d

Please sign in to comment.