Skip to content

v0.112.1

Choose a tag to compare

@Khalidabdi1 Khalidabdi1 released this 17 Oct 13:53

Fixed

  • A disabled control now looks disabled. The press animation shared by Button and the other
    pressable components wrote an opacity of 1 on every render, and it was applied after the
    className styles, so it overrode every opacity class on the control. A disabled Button stayed
    at full opacity, and an opacity class passed in className had no effect either. It now
    writes an opacity only for a control that fades when pressed, and that fade starts from the
    control's own opacity instead of from 1. Reported by @gmarcospires in #243.