From 23c6a476f67890bfbfb48d987c0ce1167444f918 Mon Sep 17 00:00:00 2001 From: akiran Date: Sat, 17 Feb 2024 13:01:31 +0530 Subject: [PATCH 1/2] add asNavFor for default prop --- src/default-props.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/default-props.js b/src/default-props.js index c98806a31..61c102f4e 100644 --- a/src/default-props.js +++ b/src/default-props.js @@ -50,7 +50,8 @@ let defaultProps = { useTransform: true, variableWidth: false, vertical: false, - waitForAnimate: true + waitForAnimate: true, + asNavFor: null }; export default defaultProps; From 9227178fa3bfb3b61134cd1e512c10dee7a89c81 Mon Sep 17 00:00:00 2001 From: akiran Date: Sat, 17 Feb 2024 13:32:25 +0530 Subject: [PATCH 2/2] remove empty test file --- __tests__/regression/fix-2076.test.js | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 __tests__/regression/fix-2076.test.js diff --git a/__tests__/regression/fix-2076.test.js b/__tests__/regression/fix-2076.test.js deleted file mode 100644 index 998378c51..000000000 --- a/__tests__/regression/fix-2076.test.js +++ /dev/null @@ -1,3 +0,0 @@ -// Test fix of #2076: Click on any slide in fade mode is triggering the click on last slide. - -// Todo: Need to write the test in playwright (Couldn't trigger click on inner slide in fade mode with testing library)