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

dmn-js-shared

Package Overview
Dependencies
Maintainers
7
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmn-js-shared - npm Package Compare versions

Comparing version 9.3.1 to 9.3.2

24

lib/components/InputSelect.js

@@ -187,13 +187,27 @@ import { createVNode } from "inferno";

var optionsBounds = this.getOptionsBounds();
assign(this._portalEl.style, optionsBounds);
}
}, {
key: "getOptionsBounds",
value: function getOptionsBounds() {
var container = this.renderer.getContainer();
var _container$getBoundin = container.getBoundingClientRect(),
containerTop = _container$getBoundin.top,
containerLeft = _container$getBoundin.left;
var _this$inputNode$getBo = this.inputNode.getBoundingClientRect(),
top = _this$inputNode$getBo.top,
left = _this$inputNode$getBo.left,
inputTop = _this$inputNode$getBo.top,
inputLeft = _this$inputNode$getBo.left,
width = _this$inputNode$getBo.width,
height = _this$inputNode$getBo.height;
assign(this._portalEl.style, {
top: "".concat(top + height, "px"),
var top = inputTop + height - containerTop + container.scrollTop;
var left = inputLeft - containerLeft + container.scrollLeft;
return {
top: "".concat(top, "px"),
left: "".concat(left, "px"),
width: "".concat(width, "px")
});
};
}

@@ -200,0 +214,0 @@ }, {

{
"name": "dmn-js-shared",
"description": "Shared components used by dmn-js",
"version": "9.3.1",
"version": "9.3.2",
"scripts": {

@@ -34,3 +34,3 @@ "test": "karma start",

},
"gitHead": "40c3c25c79a3f7ba60f8a7166dd54279dafb9f5f"
"gitHead": "f1a63bb69afc2b60facabde29bd5dacac02d2cf4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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