Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b-carousel-list slides functionality does not work when changing 'data' property value #2425

Closed
kamaladenalhomsi opened this issue Apr 20, 2020 · 0 comments
Assignees
Labels

Comments

@kamaladenalhomsi
Copy link

Overview of the problem

Buefy version: 0.8.15
Vuejs version: 2.6.11
OS/Browser:

OS: Windows 10 Pro
Browser: Chrome 81

Description

The bug

I am using the component <b-carousel-list> with only those two properties data and items-to-show

I am binding the data prop to items reactive property defined in the data function

and then after 3 second (setTimeout), in the mounted hook, I am changing the items from empty array to array of objects
it renders the new data properly, but I cannot navigate between slides afterwards, whether using the arrows or dragging

Steps to reproduce

reproduced on sandbox: https://codesandbox.io/s/recursing-shockley-tk5jy

Expected behavior

to be able to navigate between slides using arrows and dragging

Actual behavior

simply, it does not work

@jtommy jtommy self-assigned this Apr 20, 2020
@jtommy jtommy added the bug label Apr 20, 2020
@jtommy jtommy closed this as completed in a48c01f Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants