Skip to content

react-navigation-drawer@2.4.0

Compare
Choose a tag to compare
@satya164 satya164 released this 24 Feb 16:35
· 2820 commits to main since this release

2.4.0 (2020-02-24)

Bug Fixes

  • add screenProps to DrawerNavigatorItemsProps (#100) (395bb31)
  • add peer dep on react-navigation (79fb9ef)
  • change type of the navigation field in DrawerContentComponentProps (#121) (f92d3ed)
  • don't disable programmatic open/close of drawer with drawerLockMode (d39b299), closes #56
  • export DrawerLockMode, DrawerIconProps, and DrawerLabelProps (2bc25b6)
  • expose DrawerItems to maintain backward compat (cbc09c2)
  • fix "DrawerActions" typo (#65) (be85845)
  • fix path for declaration file. fixes #99 (c5009bd)
  • fix path to typescript definitions (7747e51)
  • fix typescript definitions (#95) (da51ced)
  • get rid of random red screen on iOS on opening drawer (#68) (e15ba96)
  • hide content while drawer is open from talkback (#132) (71df6f3)
  • immediate closing drawer of fully opened (6225151)
  • navigation drawer sometimes not closing when pressed outside (#126) (ff9dd73)
  • only pass accessibility label if it is a string. fixes #36 (#38) (479f7b1)
  • rename contentContainerStyle to sceneContainerStyle (9900a5c)
  • reset this.gestureX on manual setting (7a940b2)
  • rewrite tap callbacks to native calls (5c71dff)
  • set proper type for screenProps in ScreenComponent (26cd851)
  • spring was not triggered sometimes on tap (#67) (be17729)
  • tweak spring config for animation (bdebebb)
  • use compiled files for react native (8c8cb8e)

Features

  • drawer: expose draweropenprogress via react-contextapi (#125) (ffbc1f5)
  • add custom GH props (2c5b98b)
  • add theme support (1e8279a)
  • export types for ScreenProps amd ScreenComponent (c8fa94e)
  • Move itemStyle to SafeAreaView (#55) (41a8f53)