framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.04k stars 3.23k forks source link

Swiper slider "Cannot read properties of undefined (reading 'length')" when viewing within mobile view #4164

Closed willmero closed 1 year ago

willmero commented 1 year ago

Describe the bug

When swiping on the swipers within the Kitchen-sink I'm seeing a number of errors in the console for "Cannot read properties of undefined (reading 'length')'"

To Reproduce

  1. Visit the following kitchen-sink link in Chrome: https://framework7.io/kitchen-sink/svelte/dist/?theme=ios
  2. Open up the dev tools and select the "Toggle device toolbar" button in the top left corner of dev tools to see the website in a mobile setting
  3. Refresh the page to ensure you have the mobile version running
  4. Look at the console, and try swiping on the swipers

Expected behavior

No errors in the console. Functionality seems to still work at a first glance, but wondering what other effects this will have later on.

Actual Behavior

Multiple errors in the console

Screenshots

Screenshot 2023-04-13 at 1 02 34 PM

Ada-lave commented 5 months ago

Hi, can u say how you fix that