I use react-google-maps , and the embedded components of GoogleMap and InfoWindow , where I fill the latter with the following contents:
<div className = 'infoWindow' onMouseOver={()=>{ $('.infoWindow').find('.additionalData').slideToggle(); }}> <h3>{curr.name}</h3> <div className='imgContainer'> <img src={icon} alt=''/> </div> <div className='additionalData'> <div className = 'phoneNumber'>{curr.phone}</div> <div className = 'address'>{curr.address}</div> </div> </div> It turns out that when you hover on .infoWindow , all .additionalData starts to slide at once. I tried to index id, but onMouseOver already attached to the first element and when you hover on any of the others, the first one slides. Surely there is a way to transfer the current element to a function and already work with it there, but I can’t find it, with jQuery I’m familiar with it for a couple of days.