Douglas Lowder 0d3039f1a0 Fix for Modal behavior when menu button pressed on Apple TV (Issue #15313)
Summary:
**Motivation**

On Apple TV, pressing the menu button destroys the native view that backs the `Modal` component, causing an app using this component to get into a broken state.  This fix implements `onRequestClose` for tvOS to have the same behavior as it does for the Android back button.

**Test plan**

Manually tested this with the `ModalExample` in the `RNTester` app.  See also the test code in issue #15313.
Closes https://github.com/facebook/react-native/pull/15341

Differential Revision: D5651035

Pulled By: shergin

fbshipit-source-id: 54bf66887bbe85940567e63e90b437ac4a8daf9a
2017-08-17 15:22:12 -07:00
..
2016-01-07 12:03:17 -08:00
2016-08-10 13:13:34 -07:00
2017-07-24 08:33:04 -07:00
2016-11-18 14:43:31 -08:00
2016-09-08 17:58:50 -07:00
2017-03-23 11:36:17 -07:00
2017-07-24 00:32:17 -07:00
2015-03-26 02:42:24 -08:00
2017-03-23 11:36:17 -07:00