@blueprintjs/table
Advanced tools
Comparing version 1.19.0 to 1.20.0
@@ -79,3 +79,3 @@ /** | ||
TruncatedFormat.prototype.setTruncationState = function () { | ||
if (!this.props.detectTruncation) { | ||
if (!this.props.detectTruncation || this.props.showPopover !== TruncatedPopoverMode.WHEN_TRUNCATED) { | ||
return; | ||
@@ -85,2 +85,5 @@ } | ||
var popoverHandleAdjustmentFactor = this.state.isTruncated ? CONTENT_DIV_WIDTH_DELTA : 0; | ||
// add a slight bit of buffer space where we don't show the popover, to deal with cases | ||
// where everything isn't pixel perfect | ||
popoverHandleAdjustmentFactor += .5; | ||
var isTruncated = this.contentDiv !== undefined && | ||
@@ -87,0 +90,0 @@ (this.contentDiv.scrollWidth - popoverHandleAdjustmentFactor > this.contentDiv.clientWidth || |
@@ -13,3 +13,2 @@ /** | ||
var Classes = require("../common/classes"); | ||
var roundSize_1 = require("../common/roundSize"); | ||
var resizeHandle_1 = require("../interactions/resizeHandle"); | ||
@@ -38,4 +37,3 @@ var regions_1 = require("../regions"); | ||
} | ||
return (React.createElement(roundSize_1.RoundSize, null, | ||
React.createElement("div", { style: style }, cells))); | ||
return (React.createElement("div", { style: style }, cells)); | ||
}; | ||
@@ -42,0 +40,0 @@ _this.convertPointToRow = function (clientXOrY, useMidpoint) { |
{ | ||
"name": "@blueprintjs/table", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"description": "Scalable interactive table component", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@blueprintjs/core": "^1.8.0", | ||
"@blueprintjs/core": "^1.23.0", | ||
"classnames": "^2.2", | ||
@@ -26,0 +26,0 @@ "es6-shim": "^0.35", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2173394
23671
Updated@blueprintjs/core@^1.23.0