ngx-slick icon indicating copy to clipboard operation
ngx-slick copied to clipboard

(click) and routerLink do not works inside of ngxSlickItem in some cases

Open lautarobock opened this issue 7 years ago • 5 comments

I'm not sure which are the cases, but in some cases (click) event and routerLink do not work inside of ngxSlickItem. If the amount of items fit inside of the screen (let says there is not scroll) works always fine. But having more items start to fail. Here you can see the erorr working https://lautarobock.github.io/slick-bug/ If you try to click in one of the two buttons of the last item do not work (should change the route), but if you scroll to the left works.

and the repo is here https://github.com/lautarobock/slick-bug

lautarobock avatar Jan 05 '18 14:01 lautarobock

Closed. open new issue if any question.

devmark avatar Jul 11 '18 08:07 devmark

Why closed?? it is fixed?

lautarobock avatar Jul 11 '18 11:07 lautarobock

Thanks. Any comments?

lautarobock avatar Jul 11 '18 12:07 lautarobock

#53 #30 #45 #25 - (click) and routerLink do not works inside of ngxSlickItem in some cases

I hope following code will work for above issues

Javascrip or TypeScrip (if you are using Angular)

this.slideConfig = { slidesToShow: 5, slidesToScroll: 1, infinite: false, responsive: [ { breakpoint: 2660, settings: { slidesToShow: 4 } }, { breakpoint: 1400, settings: { slidesToShow: 3 } }, { breakpoint: 1024, settings: { slidesToShow: 2 } }, { breakpoint: 600, settings: { slidesToShow: 1 } } ], prevArrow: <img id='prevArrow' class='a-left control-c prev slick-prev' src='../../assets/images/Next.png'>, nextArrow: <img id='nextArrow' class='a-left control-c next slick-next' src='../../assets/images/Next.png'> };

css .carousel{ .slick-disabled{ opacity: .5; pointer-events:none; } }

pmagar avatar Jan 02 '19 12:01 pmagar

does not solve the problem # 25

LucasNF84 avatar Feb 26 '19 13:02 LucasNF84