Filtering Dataset animation

Hi, i currently have a dataset which is filtered using selection tags, when the value of the selected tag changes my listrepeater content changes as well. However, im wondering whether its possible to add animations to this filtering process since right now it just looks like the content is buggy and just disappears

import wixData from ‘wix-data’ ;

$w . onReady ( function () {
$w ( ‘#selectionTags1’ ). onChange (() => {
let selectedTag = $w ( ‘#selectionTags1’ ). value ;
for ( var i = 0 ; i < selectedTag . length - 1 ; i ++) {
if ( selectedTag . length > 1 ) {
selectedTag . shift ();
}
}

    setTimeout (() => { 
        $w ( '#selectionTags1' ). value  = []; 
        $w ( '#selectionTags1' ). value  =  selectedTag ; 

    },  1 ) 
    **let**  filter  =  wixData . filter (); 

    **if**  ( selectedTag . length  >  0 ) { 
        filter  =  filter . hasSome ( "arraystring" ,  selectedTag ); 
    } 

    $w ( '#dynamicDataset' ). setFilter ( filter ); 

}); 

});