vue-agile
vue-agile copied to clipboard
Reload doesn't reapply slide widths
When using reload after changing the contents of the slot (ie, to apply a filter to the slides if the widthSlide property hasn't changed it isn't applied to the new elements. This is because the widthSlide is only applied in the watcher when it changes, and the value remains the same.
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I've managed to work around the issue using the changes in #183 which sets the container width to 0, and then reverts it again. This seems pretty hacky though - is there a better approach?
As a workaround I do it via v-if, so in this way I re-initiate vue-agile.