flinker-dom 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -708,6 +708,10 @@ export class Input extends UIComponent {
708
708
  this.dom.spellcheck = this.props.spellCheck ?? false;
709
709
  if (this.props.autoFocus)
710
710
  this.dom.focus();
711
+ if (this.props.autoResize) {
712
+ this.dom.style.height = 'auto';
713
+ this.dom.style.height = this.dom.scrollHeight + 'px';
714
+ }
711
715
  }
712
716
  }
713
717
  export const input = (type = 'text') => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flinker-dom",
3
3
  "description": "Free TypeScript library for writing frontend apps",
4
- "version": "1.1.5",
4
+ "version": "1.1.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerDOM.git"