Commit Graph

2249 Commits

Author SHA1 Message Date
Brent Vatne
ce3fa3ea06 Release 0.5.0 2018-08-02 11:42:27 -07:00
Brent Vatne
063744bf2e Merge pull request #15 from react-navigation/@ericvicenti/drawer-back
Fix back handling in Drawer Router
2018-08-01 11:19:29 -07:00
Brent Vatne
14cd8065b9 Release 0.4.3 2018-06-27 17:26:43 -07:00
Brent Vatne
e614dd623d Add initialRouteParams to drawer 2018-06-27 17:26:22 -07:00
Brent Vatne
84d06279b8 Fix typo, release 0.4.2 2018-06-23 11:00:57 -07:00
Brent Vatne
7368637b16 Release 0.4.1 2018-06-22 10:25:33 -07:00
Brent Vatne
37bf135e72 Remove unnecessary logs 2018-06-22 10:25:13 -07:00
Brent Vatne
9021a4e04e Release 0.4.0 2018-06-22 10:17:48 -07:00
Brent Vatne
8af1f90a11 Single source of truth for drawer open state: the view 2018-06-22 10:17:36 -07:00
Brent Vatne
a521105db3 Release 0.3.2 2018-06-20 15:30:15 -07:00
Brent Vatne
912ef8b9d7 Fix drawer closing behavior 2018-06-20 15:29:57 -07:00
Brent Vatne
959a980087 Release 0.3.1 2018-06-20 13:36:32 -07:00
Brent Vatne
54bea435a8 Fix back on DrawerRouter 2018-06-20 13:35:54 -07:00
Brent Vatne
adcf274ba4 Unclear why lint is failing on example, so ignore this error 2018-06-11 15:48:26 -07:00
Brent Vatne
adeed78b93 Fix badge link 2018-06-11 15:43:47 -07:00
Brent Vatne
ada8bc7ef6 Add circle badge for master branch 2018-06-11 15:41:24 -07:00
Brent Vatne
7fd20ad7d2 Fix lint and tests 2018-06-11 15:26:10 -07:00
Brent Vatne
827c366b35 Release 0.3.0 2018-06-08 16:22:45 -07:00
Brent Vatne
4ed5d1e709 Stop depending on internal functions in react-navigation 2018-06-08 16:21:37 -07:00
Brent Vatne
f5f574e8a3 Use SceneView instead of DrawerScreen directly 2018-06-08 16:12:09 -07:00
Brent Vatne
6ea1aeed5c Release 0.2.1 2018-06-06 14:33:02 -07:00
Brent Vatne
2cc759d300 Merge pull request #1 from solomonhawk/sfh/fix-drawer-quick-navigate
Fix a bug in DrawerView
2018-06-06 14:29:16 -07:00
Brent Vatne
0715384785 Bump version 2018-06-05 16:57:50 -07:00
Brent Vatne
0c80923325 Migrate tests to this repo 2018-06-05 16:54:00 -07:00
Brent Vatne
48def78146 Initial commit after extracting from react-navigation 2018-06-05 16:20:19 -07:00
Satyajit Sahoo
d948b926df chore: release 3.5.2 2020-01-29 14:36:29 +01:00
Harry Yu
80da403c61 fix: fixed Tab/SwitchRouter incorrectly switching children on "ba… (#74) 2020-01-29 21:32:17 +08:00
Harry Yu
f9defd5afb fix: avoid error when updateNextStateHistory called with state 2019-12-12 17:08:41 -08:00
Sébastien Lorber
aeb5682693 fix: update navigation prop invariant for v4 (#84)
Even if RN v4 use core v3, I find this would make this message less confusing for react-navigation v4 users
2020-01-24 15:45:07 +01:00
Harry Yu
531dc30530 fix: don't pop routeKeyHistory when child handles back action (#75)
## Motivation

When pressing back in a StackNavigator nested inside the SwitchRouter, the screen would get popped, but the routeKeyHistory of the SwitchRouter gets popped even though the SwitchRouter doesn't handle the back action. This results in the next back action skipping the last opened tab.

## Fix

Before popping the `routeKeyHistory` stack, we check that the history actually changed. I also added a test for this
2019-11-18 04:00:10 -08:00
satyajit.happy
b4a6810235 Revert "wip: removed code block that prevents event dispatch (#73)"
This reverts commit 115bc778e85ec4e128d32d57fd01784c121e4bfc.

Will come to it later when I have more time.
2019-10-24 15:27:58 +02:00
michizhou
f3fdd161e4 wip: removed code block that prevents event dispatch (#73) 2019-10-24 08:28:23 -04:00
Serhii Palash
bd04b85bc9 chore: update "@react-native-community/bob" to the latest version (#70)
* Update "@react-native-community/bob" dependency to the latest version

This commit fixes the bug with not possible to install "@react-navigation/core" using GitHub repo url on Windows. It's a common use case when you work with fork of this original repo and use its url as dependency in your package.json.

Corresponding commit in "@react-native-community/bob"
88c879c83f (diff-e5d6ed39d4bcfdb44ace83a35d62c1a5).
It was released in v0.4.1

* Update yarn.lock file with new "@react-native-community/bob" dependency version
2019-09-16 14:33:43 +03:00
Ben Salili-James
363c8b5d9f refactor: add types to action creators/invariant (#65)
* refactor: add types to `NavigationActions`

* refactor: add types to `invariant`

* refactor: add types to `getNavigationActionCreators`

* Update invariant.ts
2019-09-16 12:21:32 +01:00
Sébastien Lorber
513d5d4d8a tests: refactor SwitchRouter tests (#34)
* add test:dev for dev test workflow, which should rather not lint/build and trigger pretest

* refactor tests to use closure based helper instead of class

* refactor SwitchRouter tests with router stateful helpers to improve tests readability

* simplify matcher

* better initialRoute backBehavior test by using a non-default routeName

* minor fix

* Update src/routers/__tests__/routerTestHelper.js

Co-Authored-By: slorber <slorber@users.noreply.github.com>

* Update src/routers/__tests__/routerTestHelper.js

Co-Authored-By: slorber <slorber@users.noreply.github.com>

* Update src/routers/__tests__/routerTestHelper.js

Co-Authored-By: slorber <slorber@users.noreply.github.com>

* revert bad merge stuff

* revert bad merge stuff

* fix tests
2019-09-16 13:18:22 +02:00
satyajit.happy
2528421656 chore: release 3.5.1 2019-09-14 15:47:57 +02:00
satyajit.happy
a6872b900a fix: don't keep descriptors for routes that have been removed 2019-09-14 15:25:00 +02:00
satyajit.happy
b5b7cb91b2 fix: fix regression updating route object on navigation 2019-09-14 15:18:54 +02:00
Brent Vatne
8d49ee2771 feat: add theme support 2019-08-22 17:46:03 -07:00
Tanner
5b1a8fed60 feat: support string array for uriPrefix (#66) 2019-08-19 20:19:12 -06:00
Brent Vatne
8ac44e6bf8 Release 3.4.2 2019-05-21 23:50:35 +02:00
Janic Duplessis
7dc8819280 docs: Add comment to getScreen fix (#63) 2019-05-21 18:02:13 -04:00
Janic Duplessis
720f943fcf fix: getScreen getting called for each route on init (#62) 2019-05-21 17:47:50 -04:00
Brent Vatne
eff177e443 Update README 2019-05-16 10:54:56 -07:00
satyajit.happy
e76a721eaa chore: release 3.4.1 2019-04-25 10:55:30 +02:00
satyajit.happy
d80418a2ec fix: use compiled files for react native. closes #58 2019-04-25 10:54:10 +02:00
satyajit.happy
3edf0ebb81 chore: release 3.4.0 2019-04-23 20:10:26 +02:00
satyajit.happy
6101d7c181 feat: add a JUMP_TO action for switch
Add a JUMP_TO action in switch navigator to handle navigation actions explictly instead of the magical NAVIGATE action.
2019-04-20 13:49:49 +02:00
satyajit.happy
b13b5805a5 chore: add missing dep in example 2019-04-17 21:01:11 +02:00
Brent Vatne
c828cb128c Fix SwitchRouter depending on previous state to be defined when performing navigate 2019-04-16 16:55:06 -07:00