@readium/navigator 2.5.3 → 2.5.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readium/navigator",
3
- "version": "2.5.3",
3
+ "version": "2.5.5",
4
4
  "type": "module",
5
5
  "description": "Next generation SDK for publications in Web Apps",
6
6
  "author": "readium",
@@ -50,7 +50,7 @@
50
50
  "generate:css-selector": "node scripts/generate-css-selector.js"
51
51
  },
52
52
  "devDependencies": {
53
- "@readium/css": "^2.0.4",
53
+ "@readium/css": "^2.0.5",
54
54
  "@readium/navigator-html-injectables": "workspace:*",
55
55
  "@readium/shared": "workspace:*",
56
56
  "@types/path-browserify": "^1.0.3",
@@ -648,6 +648,10 @@ export class EpubNavigator extends VisualNavigator implements Configurable<Confi
648
648
  }
649
649
  }
650
650
  await this.apply();
651
+ // On the initial forward walk each fresh iframe load fires
652
+ // positionChanged via _pong; on back-then-forward to an
653
+ // already-loaded frame no _pong fires, so dispatch explicitly here.
654
+ this.listeners.positionChanged(this.currentLocation);
651
655
  return true;
652
656
  }
653
657