We study the mechanisms affecting the viscous-fingering instability in an elastic-walled Hele-Shaw cell by considering the stability of steady states of unidirectional peeling-by-pulling and peeling-by-bending. We demonstrate that the elasticity of the wall influences the steady base state but has a negligible direct effect on the behaviour of linear perturbations, which thus behave like in the ‘printer’s instability’ with rigid walls. Moreover, the geometry of the cell can be very well approximated as a triangular wedge in the stability analysis. We identify four distinct mechanisms – surface tension acting on the horizontal and the vertical interfacial curvatures, kinematic compression in the longitudinal base flow, and the films deposited on the cell walls – that each contribute to stabilizing the system. The vertical curvature is the dominant stabilizing mechanism for small capillary numbers, but all four mechanisms have a significant effect in a large region of parameter space.