Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
39.26 KB
MD5: 69d12ef657914b31c81a3047a87b63ac
SHA-1: e892e03f3c2428da822e10c70056807f8e11080f
SHA-256: b6da9f75f32d3e03f14de7ec56f51027fd1b07750b6d618fb9881aa419d33fcd
Download zip
53.12 KB
MD5: dfdfa813e7e0d2d2b1baaf10398355b3
SHA-1: bf59a72b802ad280fd91290fda2c85f7bdf7104a
SHA-256: e7eb619f09487f439c1154b96b8df6557d45b32b08b80d0a21a54bc2036adf6c
Release notes
Autoplay no longer starts in a hidden tab; v1 views are converted to the v2 option shape.
Requirements
- Drupal
^11.3 || ^12, PHP 8.3+, Views, and VVJ Core^2.0.
Fixes
- Autoplay started in background tabs. A page loaded in a background tab gets no
visibilitychangeevent while the viewport observer still fired, so the carousel autoplayed and every slide change raised "Transition was aborted because of invalid state. Document hidden". The carousel now also checksdocument.hiddenbefore starting, and starts when the page is shown. - Update
10002converts views saved with the v1 option shape (numbers stored as strings, booleans as integers) to the v2 types, so they pass the v2 schema.
After updating
Update VVJ Core first, since update 10002 uses the converter added to VVJ Core after 2.0.0. Then run drush updb and drush cr. The update is safe to run again and does nothing for views that already use the v2 option shape.