akiran / akiran/react-slick

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

Offen
#1,544 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

'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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.