vue-tiny-slider icon indicating copy to clipboard operation
vue-tiny-slider copied to clipboard

[Feature Request] Add manual control over how slider styles are destroyed

Open AndrewBogdanovTSS opened this issue 5 years ago • 2 comments

Right now there is an issue with styles being removed from the slider on destroy which leads to visual mess and jumpiness of items when navigating from one vue route to another. Ideally there should be an option to control styles deletion in the destroy process. What is needed: slider.destroy(cleanStyles); where cleanStyles - boolean - (true by default) Set it to false to keep styles on the instance during destroy process

AndrewBogdanovTSS avatar Feb 27 '20 19:02 AndrewBogdanovTSS

@AndrewBogdanovTSS ^ What have you done to account for this? I am running into the same issue. Basically my slides stack their height with the background color after route change is initialized.

bennettfrazier avatar Mar 19 '20 21:03 bennettfrazier

There's nothing that can be done to account for this except the way I requested it. It's a built in functionality that should be implemented within a lib, not somewhere outside. It may also be related to the core tiny slider lib, not the Vue wrapper, or maybe both

AndrewBogdanovTSS avatar Mar 19 '20 21:03 AndrewBogdanovTSS