Problem with slider in ionic v4

hello,

i use ionic v4, i have problem with slider. if i create slides static than it was worked fine but if i generate slide dynamically than i can’t swipe the slide.

help me asap.