I am using a flexbox to divide up the space on a webpage. I have a main area with SVG and a sticky footer. The footer has a button that changes its text when the mouse enters and leaves. The problem is that the footer temporarily slides down when this happens.
See here: http://jsfiddle.net/nicmcd/zb149q0k/49/
Through debugging I've found that the offending CSS style that causes this is that the SVG area is set to a height of 100%:
svg {
width: 100%;
height: 100%; /* this is the offensive style */
top: 0;
left: 0;
}
My dilemma is that I need the SVG set to a height of 100% because I want it to consume all the space the footer doesn't take.
One weird thing is that after the footer slides away, it comes back if the window is resized.
Please help!