Skip to content

0.17.0

Compare
Choose a tag to compare
@necolas necolas released this 17 Jun 16:54
· 225 commits to master since this release

Accessibility improvements and breaking changes to unstable APIs.

Breaking changes

  • Remove special treatment of elements with accessibilityRole="menuitem". It no longer adds elements to the tab flow.
  • Remove anchor element inference from View and Text with accessibilityRole="link". Only requires addition of href prop.
  • Remove unstable_createElement element-type inference using href. Fixes use with svg elements.
  • Remove unstable_createElement keyboard shim for onClick. It no longer invokes onClick during onKeyDown for keyboard interactions on elements that are not natively interactive.

Fixes

  • Fix Pressable support for keyboard interactions if element is unmounted during interaction.
  • Remove unnecessary CSS reset for input number spin buttons.
  • Fix ProgressBar & Switch rendering in Windows High Contrast mode
  • Text preserves white-space if numberOfLines={1}.