bloom-player 2.19.7 → 2.19.8

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
@@ -3,7 +3,7 @@
3
3
  "description": "A library for displaying Bloom books in iframes or WebViews",
4
4
  "author": "SIL Global",
5
5
  "license": "MIT",
6
- "version": "2.19.7",
6
+ "version": "2.19.8",
7
7
  "private": false,
8
8
  "// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
9
9
  "sideEffects": false,
@@ -1292,6 +1292,11 @@ export function copyContentToTarget(draggable: HTMLElement) {
1292
1292
  Array.from(throwAway.querySelectorAll("[tabindex]")).forEach((e) => {
1293
1293
  e.removeAttribute("tabindex");
1294
1294
  });
1295
+ // Nor should it be allowed to become the container of the video we will
1296
+ // record if the user turns on video recording.
1297
+ throwAway.querySelectorAll(".bloom-selected").forEach((el) => {
1298
+ el.classList.remove("bloom-selected");
1299
+ });
1295
1300
  let imageContainer = throwAway.getElementsByClassName(
1296
1301
  "bloom-canvas",
1297
1302
  )[0] as HTMLElement;