akiran / akiran/react-slick

How do you make it when the zoom in slider image is full?

Aperta
#1,544 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

'm asking for help, I have a problem if the slider in the hover image is small in size not full or not covered, but if the large size image is completely covered, how to be the same, my tools use the react-slick plugin for the slider and for the zoom hover react-image-magnify

to see full and run the code in the link below

https://codesandbox.io/embed/m4z84581p8

below this is a wrong picture, it should be when the image hover meets the border box

after zoom

![Screen Shot 2019-04-29 at 20 44 49](https://user-images.githubusercontent.com/31697177/56904263-23e93400-6ac8-11e9-8608-05d69cb95fdf.png)

before hover or zoom
![Screen Shot 2019-04-29 at 20 46 40](https://user-images.githubusercontent.com/31697177/56904315-38c5c780-6ac8-11e9-8878-1c792384ae84.png)

but if the image is large when hovered or zoomed then the image is full box
![Screen Shot 2019-04-29 at 20 46 00](https://user-images.githubusercontent.com/31697177/56904351-4713e380-6ac8-11e9-87da-376dda55ecd8.png)

before
![Screen Shot 2019-04-29 at 20 46 00](https://user-images.githubusercontent.com/31697177/56904389-5430d280-6ac8-11e9-9664-610947986d80.png)

what I want is if the image is different either on hover or on zoom the image meets the border box box, like the example of the following link or picture no. 2

https://www.tokopedia.com/laris88/640-adjustable-shoes-organizer-tempat-sepatu?trkid=f=Ca0000L000P0W0S0Sh,Co0Po0Fr0Cb0_src=search_page=1_ob=23_q=sepatu_po=29_catid=1372<=/searchproduct%20-%20p6%20-%20product

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.