woocommerce/plugins/woocommerce-admin/client/hooks
Joshua T Flowers 8b905b92c0
Allow product tab navigation without prompting for unsaved changes (#36235)
* Add callback to confirm whether or not the prevent leaving page prompt should trigger

* Move prevent leaving logic to util and add tests

* Add changelog entry

* Add navigation changelog entry

* Fix WooCommerce data mock

* Revert desctructuring of nav properties
2023-01-05 18:30:36 -08:00
..
useFocusOnMount.js Refactor panel with withFocusOutside (https://github.com/woocommerce/woocommerce-admin/pull/6233) 2021-02-16 15:01:11 -05:00
useFocusOutside.js Update linting, testing, `@types/*` dependencies (https://github.com/woocommerce/woocommerce-admin/pull/8475) 2022-03-18 19:45:14 +08:00
useIsScrolled.js Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
usePreventLeavingPage.ts Allow product tab navigation without prompting for unsaved changes (#36235) 2023-01-05 18:30:36 -08:00