akiran / akiran/react-slick

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

Aberta
#1,544 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
11.9k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

'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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.