@syncfusion/ej2-pivotview 19.4.40 → 19.4.41

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.40
3
+ * version : 19.4.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-pivotview@*",
3
- "_id": "@syncfusion/ej2-pivotview@19.4.38",
3
+ "_id": "@syncfusion/ej2-pivotview@19.4.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+fFwkKf9f7dvy1yimYl177BDSWAFQ5OgMMZQhRr4uzC63qedgNfM4WsA+j3CSXAodlDsH69Wk0RLYrbxYJbo7g==",
5
+ "_integrity": "sha512-4l6ox+sr+Y7FY0SGcCCCx1QyW/YgJpYfCnFf1/a5NBkYGoaYVG4H0QXhIFZADKZ3ISaOOXD2b3WOHIDQaTp3tg==",
6
6
  "_location": "/@syncfusion/ej2-pivotview",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-pivotview",
24
24
  "/@syncfusion/ej2-vue-pivotview"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.4.38.tgz",
27
- "_shasum": "295cfc89df3f91c8f3f63e12169f1da81d58097b",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.4.40.tgz",
27
+ "_shasum": "7ea645702e674101936bda771675309772082bbf",
28
28
  "_spec": "@syncfusion/ej2-pivotview@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -38,18 +38,18 @@
38
38
  "@syncfusion/ej2-base": "~19.4.38",
39
39
  "@syncfusion/ej2-buttons": "~19.4.38",
40
40
  "@syncfusion/ej2-calendars": "~19.4.38",
41
- "@syncfusion/ej2-charts": "~19.4.40",
41
+ "@syncfusion/ej2-charts": "~19.4.41",
42
42
  "@syncfusion/ej2-compression": "~19.4.38",
43
43
  "@syncfusion/ej2-data": "~19.4.38",
44
- "@syncfusion/ej2-dropdowns": "~19.4.40",
44
+ "@syncfusion/ej2-dropdowns": "~19.4.41",
45
45
  "@syncfusion/ej2-excel-export": "~19.4.38",
46
46
  "@syncfusion/ej2-file-utils": "~19.4.38",
47
- "@syncfusion/ej2-grids": "~19.4.40",
48
- "@syncfusion/ej2-inputs": "~19.4.38",
47
+ "@syncfusion/ej2-grids": "~19.4.41",
48
+ "@syncfusion/ej2-inputs": "~19.4.41",
49
49
  "@syncfusion/ej2-lists": "~19.4.38",
50
- "@syncfusion/ej2-navigations": "~19.4.40",
50
+ "@syncfusion/ej2-navigations": "~19.4.41",
51
51
  "@syncfusion/ej2-pdf-export": "~19.4.38",
52
- "@syncfusion/ej2-popups": "~19.4.38",
52
+ "@syncfusion/ej2-popups": "~19.4.41",
53
53
  "@syncfusion/ej2-splitbuttons": "~19.4.40",
54
54
  "@syncfusion/ej2-svg-base": "~19.4.40"
55
55
  },
@@ -78,6 +78,6 @@
78
78
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
79
79
  },
80
80
  "typings": "index.d.ts",
81
- "version": "19.4.40",
81
+ "version": "19.4.41",
82
82
  "sideEffects": false
83
83
  }
@@ -9,6 +9,7 @@ export declare class VirtualScroll {
9
9
  private pageXY;
10
10
  private eventType;
11
11
  private engineModule;
12
+ private isFireFox;
12
13
  /** @hidden */
13
14
  direction: string;
14
15
  private keyboardEvents;
@@ -1,4 +1,4 @@
1
- import { EventHandler, setStyleAttribute } from '@syncfusion/ej2-base';
1
+ import { EventHandler, setStyleAttribute, Browser } from '@syncfusion/ej2-base';
2
2
  import { contentReady } from '../../common/base/constant';
3
3
  import * as cls from '../../common/base/css-constant';
4
4
  /**
@@ -14,6 +14,7 @@ var VirtualScroll = /** @class */ (function () {
14
14
  this.previousValues = { top: 0, left: 0 };
15
15
  this.frozenPreviousValues = { top: 0, left: 0 };
16
16
  this.eventType = '';
17
+ this.isFireFox = Browser.userAgent.toLowerCase().indexOf('firefox') > -1;
17
18
  this.parent = parent;
18
19
  this.engineModule = this.parent.dataType === 'pivot' ? this.parent.engineModule : this.parent.olapEngineModule;
19
20
  this.addInternalEvents();
@@ -37,6 +38,9 @@ var VirtualScroll = /** @class */ (function () {
37
38
  var mScrollBar = mCont.parentElement.parentElement.querySelector('.' + cls.MOVABLESCROLL_DIV);
38
39
  EventHandler.clearEvents(mCont);
39
40
  EventHandler.clearEvents(fCont);
41
+ if (this.isFireFox) {
42
+ EventHandler.clearEvents(mHdr);
43
+ }
40
44
  if (this.engineModule) {
41
45
  var ele = this.parent.isAdaptive ? mCont : mCont.parentElement.parentElement.querySelector('.' + cls.MOVABLESCROLL_DIV);
42
46
  EventHandler.add(ele, 'scroll touchmove pointermove', this.onHorizondalScroll(mHdr, mCont, fCont), this);
@@ -98,7 +102,7 @@ var VirtualScroll = /** @class */ (function () {
98
102
  }
99
103
  var target = e.target;
100
104
  var left = target.scrollLeft;
101
- if (_this.previousValues.left === left) {
105
+ if (_this.previousValues.left === left || (_this.isFireFox && target.classList.contains(cls.MOVABLEHEADER_DIV))) {
102
106
  return;
103
107
  }
104
108
  content.scrollLeft = left;