Closed teknosains closed 3 years ago
I load the image asyncronously / depends on a trigger. When I hover the image, the cursor is still os-default cursor not the zoom-in.
It will become zoom-in if i click the image first,
is there any workaround for this?
Solved it by
adding css style
.magnify:hover{ cursor: zoom-in!important; } .magnify > div > img:hover { cursor: zoom-in!important; }
<Magnifier className="magnify" />
I load the image asyncronously / depends on a trigger. When I hover the image, the cursor is still os-default cursor not the zoom-in.
It will become zoom-in if i click the image first,
is there any workaround for this?