-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 📜 Description Added `duration` to plain and worklet events. ## 💡 Motivation and Context As part of enhancement events metadata it would be good to have `duration` prop. It may allow to create kind of parallax effect (when animation duration is equal, but easing functions are different). ## 📢 Changelog ### JS - added `duration` to spec file; - updated example app; ### iOS - extract duration and send it in eventemitter and in view events; ### Android - extract duration and send it in eventemitter and in view events; ## 🤔 How Has This Been Tested? Tested manually on: - Pixel 7 Pro (Android 13); - Xiaomi Redmi Note 5 Pro (Android 9); - iPhone 14 Pro (iOS 16.5); ## 📸 Screenshots (if appropriate): <img src="https://github.com/kirillzyusko/react-native-keyboard-controller/assets/22820318/f954325c-cd7e-4d03-9272-7479301cc650" width="250px"> ## 📝 Checklist - [x] CI successfully passed
- Loading branch information
1 parent
d349403
commit 88ff6e9
Showing
12 changed files
with
101 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.