Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/text-area

Package Overview
Dependencies
Maintainers
14
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/text-area - npm Package Compare versions

Comparing version 23.1.1 to 23.2.0-alpha1

16

package.json
{
"name": "@vaadin/text-area",
"version": "23.1.1",
"version": "23.2.0-alpha1",
"publishConfig": {

@@ -36,8 +36,8 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "^23.1.1",
"@vaadin/field-base": "^23.1.1",
"@vaadin/input-container": "^23.1.1",
"@vaadin/vaadin-lumo-styles": "^23.1.1",
"@vaadin/vaadin-material-styles": "^23.1.1",
"@vaadin/vaadin-themable-mixin": "^23.1.1"
"@vaadin/component-base": "23.2.0-alpha1",
"@vaadin/field-base": "23.2.0-alpha1",
"@vaadin/input-container": "23.2.0-alpha1",
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha1",
"@vaadin/vaadin-material-styles": "23.2.0-alpha1",
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha1"
},

@@ -49,3 +49,3 @@ "devDependencies": {

},
"gitHead": "390458d6519433a2dd502cef90da48e84573a275"
"gitHead": "f226a2976c270d3d53c824f6e0a740a5d3382d91"
}

@@ -204,25 +204,2 @@ /**

/** @protected */
connectedCallback() {
super.connectedCallback();
this._inputField = this.shadowRoot.querySelector('[part=input-field]');
// Wheel scrolling results in async scroll events. Preventing the wheel
// event, scrolling manually and then synchronously updating the scroll position CSS variable
// allows us to avoid some jumpy behavior that would occur on wheel otherwise.
this._inputField.addEventListener('wheel', (e) => {
const scrollTopBefore = this._inputField.scrollTop;
this._inputField.scrollTop += e.deltaY;
if (scrollTopBefore !== this._inputField.scrollTop) {
e.preventDefault();
this.__scrollPositionUpdated();
}
});
this._updateHeight();
this.__scrollPositionUpdated();
}
/**

@@ -250,2 +227,20 @@ * @protected

this.addEventListener('animationend', this._onAnimationEnd);
this._inputField = this.shadowRoot.querySelector('[part=input-field]');
// Wheel scrolling results in async scroll events. Preventing the wheel
// event, scrolling manually and then synchronously updating the scroll position CSS variable
// allows us to avoid some jumpy behavior that would occur on wheel otherwise.
this._inputField.addEventListener('wheel', (e) => {
const scrollTopBefore = this._inputField.scrollTop;
this._inputField.scrollTop += e.deltaY;
if (scrollTopBefore !== this._inputField.scrollTop) {
e.preventDefault();
this.__scrollPositionUpdated();
}
});
this._updateHeight();
this.__scrollPositionUpdated();
}

@@ -252,0 +247,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc