oolib 2.67.1 → 2.67.2
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.
|
@@ -41,9 +41,9 @@ var useResizeTableColumns = function (_a) {
|
|
|
41
41
|
return mouseX > colRightEdge - dragZoneWidth;
|
|
42
42
|
};
|
|
43
43
|
var initColResizeState = function (e, d) {
|
|
44
|
-
e.preventDefault();
|
|
45
|
-
e.stopPropagation();
|
|
46
44
|
if (isInDragZone(e)) {
|
|
45
|
+
e.preventDefault(); // these have to be inside isInDragZone, else clicking on cell wont allow rte to get focussed in SimpleTable
|
|
46
|
+
e.stopPropagation();
|
|
47
47
|
setColResizeState({
|
|
48
48
|
mousePos: e.clientX,
|
|
49
49
|
initWidth: parseInt(colWidthConfig[d.colId].replace('px', '')),
|