cx 26.2.4 → 26.3.1

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.
package/dist/widgets.js CHANGED
@@ -7933,6 +7933,7 @@ const validationCheck = (date, data, disabledDaysOfWeek) => {
7933
7933
  };
7934
7934
  class CalendarCmp extends VDOM.Component {
7935
7935
  el = null;
7936
+ unsubscribeWheel;
7936
7937
  constructor(props) {
7937
7938
  super(props);
7938
7939
  let { data } = props.instance;
@@ -8111,7 +8112,9 @@ class CalendarCmp extends VDOM.Component {
8111
8112
  if (calendarWidget.autoFocus && this.el) this.el.focus();
8112
8113
  if (this.el) {
8113
8114
  tooltipParentDidMount$1(this.el, ...getFieldTooltip(this.props.instance));
8114
- this.el.addEventListener("wheel", (e) => this.handleWheel(e));
8115
+ this.unsubscribeWheel = addEventListenerWithOptions(this.el, "wheel", (e) => this.handleWheel(e), {
8116
+ passive: false,
8117
+ });
8115
8118
  }
8116
8119
  }
8117
8120
  UNSAFE_componentWillReceiveProps(props) {
@@ -8127,6 +8130,7 @@ class CalendarCmp extends VDOM.Component {
8127
8130
  componentWillUnmount() {
8128
8131
  offFocusOut(this);
8129
8132
  tooltipParentWillUnmount$1(this.props.instance);
8133
+ this.unsubscribeWheel?.();
8130
8134
  }
8131
8135
  showYearDropdown() {
8132
8136
  if (this.el && this.el.firstChild) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "26.2.4",
3
+ "version": "26.3.1",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "exports": {
6
6
  "./data": {