Cannot read properties of undefined (reading 'isSupported') carousel.js

Created on 21 April 2025, 6 days ago

When interacting with the "next" and "previous" buttons of the Bootstrap carousel, a console error is triggered, which prevents the carousel from sliding to the next item.

I added a Bootstrap carousel as a view within my node page. However, when clicking the next or previous buttons, an error appears.

In carousel.js I removed these lines:

if (this._config.touch && Swipe.isSupported()) {
this._addTouchEventListeners();
}

Removing these lines won't affect clicking on the buttons when the swipe is supported, and the carousel will work as expected.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024