I'm not sure what you are trying to do here is possible. As soon as you move the mouse to the pop-up, the row is no longer 'hovered' so it makes sense that any style changes based on being in the 'hovered' state would revert. My suggestion would be to trigger the changes when the row is selected instead. So have an event listener for row selection that sets the row color to yellow, displays the pop-up, and saves a reference to the target row somewhere. Then in the event listener for the link button use the saved reference to the row to change the color to blue.