Ion-split-pane with menu on side="end" + swiper - touch swipe error

There is an error in console during swiping when having an ion-split-pane with menu on side=“end”.
This is happening only with touch events, in Dev Tools.

ERROR TypeError: Failed to set the ‘currentTime’ property on ‘Animation’: The provided double value is non-finite.
at animation-a1d9e088.js:639:30
at Array.forEach ()
at setAnimationStep (animation-a1d9e088.js:638:21)
at Object.progressStep (animation-a1d9e088.js:718:5)
at animation-a1d9e088.js:716:17
at Array.forEach ()
at Object.progressStep (animation-a1d9e088.js:715:21)
at Menu.onMove (ion-menu_3.entry.js:392:20)
at onMove (ion-menu_3.entry.js:133:28)
at fireOnMove (index-ff313b19.js:313:7)
at timer (zone.umd.js:2441:47)
at _ZoneDelegate.invokeTask (zone.umd.js:445:35)
at core.mjs:23896:55
at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:23896:36)
at _ZoneDelegate.invokeTask (zone.umd.js:444:64)

In this method:

  onMove(detail) {
    if (!this.isAnimating || !this.animation) {
      assert(false, 'isAnimating has to be true');
      return;
    }
    const delta = computeDelta(detail.deltaX, this._isOpen, this.isEndSide);
    const stepValue = delta / this.width;
    this.animation.progressStep(this._isOpen ? 1 - stepValue : stepValue);
  }

delta is 0, this.width is 0, so we get stepValue = 0 / 0 = NaN

@angular/core”: “^15.2.8”
@ionic/angular”: “^7.4.1”
“swiper”: “^10.2.0”