Can’t get Carousel Auto Scroll to work
-
There seems to be something off with the auto-scroll for carousels. As far as I understand the Bootstrap 5 documentation, the data option bs-ride=”carousel” has to be set at the div with class “carousel” in order for it to auto-scroll on page load.
Then I looked at the source code and found this snippet in wp-content/plugins/all-bootstrap-blocks/blocks/carousel/block.js at line 85:
<areoi.components.PanelRow className="areoi-panel-row"> <areoi.components.ToggleControl label={ 'Auto Scroll' } help="Set to true if you want the carousel to automatically scroll between slides." checked={ attributes.interval } onChange={ ( value ) => onChange( 'interval', value ) } />
It seems odd that the auto-scroll refers to the interval, which is set at the carousel item.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Can’t get Carousel Auto Scroll to work’ is closed to new replies.