Patch Changes
-
#1882
f9d07a9Thanks @bataevvlad! -Calendar,RangeCalendar,DatepickerandRangeDatepickerheader arrows no longer page past an
explicitminormax. Navigating in the month, year-picker and month-picker views clamps to the
bounds, so a picker withmin={2020}cannot be paged back to year -16 (#1759). -
#1880
6038239Thanks @bataevvlad! -Iconno longer forwards DOM-only handlers (onClickand the mouse events) to the icon element on
iOS and Android.TouchableWithoutFeedbackand the other touchables clone React Native's full
Pressabilityhandler set onto their child, so anIconrendered as a touchable's child received
onClick; on the legacy architecture react-native-svg crashed with
-[RNSVGSvgView setOnClick]: unrecognized selector(#1801, #1733). Responder handlers still pass
through, and on web every handler is kept because they are real DOM props there. -
#1882
24d8793Thanks @bataevvlad! -RangeCalendarandRangeDatepickernever produce a range that spans a filtered day. Picking an end
date on the far side of a day thatfilterdisables restarts the range from that end date instead of
silently including the disabled day (#1654). -
#1880
f4c271fThanks @bataevvlad! - Render props given as elements keep their ownstyle.accessoryLeft,accessoryRight,label,
caption,titleand every otherRenderPropaccepted a React element, but the style the parent
component passed in (aButton's text style, anInput's icon size) replaced the element's own,
so<Button accessoryLeft={<Icon style={{ width: 32 }} />} />rendered at the default icon size.
The element's style is now merged on top of the parent's defaults (#1497, #1792). -
#1882
018d6b2Thanks @bataevvlad! -Select'ssizenow reaches its options.SelectOptiongains asizevariant group in the Eva
and Material mappings (small,medium,large: text size, row padding and icon size),SelectItem
acceptssize, andSelectforwards its ownsizeto every item, so<Select size='large'>no longer
renders 15px rows regardless of size (#1417, #1764).