Unable to set flexShrink to 0
Author: piotrbaldych-crCreated Sep 10, 2026Updated Sep 10, 2026
Describe the bug Due to implementation of setFlexShrink when 0 is passed it defaults back to 1
To Reproduce Create element with flexShrink set to 0
Expected behavior Element does not shrink. Same as when 0.001 is passed
Screenshots
Source: diegomura/react-pdf