在react-native中一个新的声明式手势API的实验实现
在react-native中一个新的声明式手势API的实验实现Update that includes fix for an important crash reported in #657
This release includes several other improvements listed below:
- Fixed small typo 'they does' -> 'they do' by @okwast (#801)
- Bump to .61 by @osdnk (#807)
- Updated drawer container style type by @zachariahtimothy (#785)
- RTL support by @ShaMan123 (#515)
- Update instructions for getting started by @brentvatne (#781)
- fix: replaced expo demo app hyperlink by @sauzy34 (#778)
- Move arrow functions to prototype by @vonovak (#769)
- Fix styling in handler-pan.md by @wojtus7 (#759)
- Updated mock to match States on master by @jdmg94 (#790)
- Remove unused imports by @nabati (#768)
- Update state.md by @rerissonrocha (#779)
- Doc: Update Readme with React Native compabilty by @olethanh (#793)
- Add imports to example by @aleqsio (#780)
- feat: add RNGestureHandlerEnabledRootView constructor with attrs by @ferrannp (#755)
Thanks to everyone who contributed to this release
Assets
2
Patch release to include component memoization logic fix by @janicduplessis #654
Assets
2
IMPORTANT!! This version is compatible with React Native @ 0.60+
This version brings support for gesture-handler to react-native-web projects. Many thanks and congratulations to @EvanBacon for working on this project
As a part of this release we publish changes to resolve compatibility issues with AndroidX that has broken support for imported projects (they way most react native apps are consumed by third party). As upgrade to 0.59 is required in order to be able to publish updates to google play store we decided to publish a release that is only compatible with 0.60 hoping for the community to update to one of the most recent versions of react native anyways.
It is possible to use this release with RN < 0.60 but one have to rely on reverse-jetifying of gesture handler library. Read more on that here https://github.com/mikehardy/jetifier#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries
- Web Support by @EvanBacon (#555)
- Add drawerLockMode to DrawerLayoutProperties by @alex-fournier (#620)
- [web] Added missing web files to the
package.json
by @EvanBacon (#701) - Disable the background accessibility when the drawer opens and overlaps (Android) by @mrjoema (#679)
- Remove Math.sign polyfill by @janicduplessis (#658)
- Remove react/react-native peerDependencies by @brentvatne (#635)
- [web] Fixed buttons by @EvanBacon (#644)
- use AndroidX by @dulmandakh (#734)
- Introduce aliases for the unsafe lifecycles by @douglaszaltron (#718)
- Added missing props in hitSlop for typescript definitions by @renjfk (#716)
- [Typescript] Adds rippleColor to RectButtonProperties by @rszalski (#694)
- Remove overlay 70% opacity to allow more flexibility by @famousfrank (#629)
- target iOS 9.0 by @dulmandakh (#692)
- docs: update Getting Started for React Native 0.60 by @thymikee (#687)
- Use UNSAFE_componentWillUpdate in Swipable.js by @janicduplessis (#655)
- Added missing style props for Swipeable in type definitions by @dimitarnestorov (#660)
- fix: name of the package example by @nidelson (#672)
- Add missing info on shouldCancelWhenOutside docs. by @grifotv (#630)
Assets
2
Patch release that removes import of ToolbarAndroid. This is to maintain compatibility with new react-native version. I apologize everyone who might expirience compatibility issues after upgrading. If you've been using ToolbarAndroid
from react-native-gesture-handler
package please replace import with the following construct:
import { createNativeWrapper } from 'react-native-gesture-handler';
const ToolbarAndroid = createNativeWrapper(ToolbarAndroid);
Assets
2
- Restrict web warning to only the first render of handler @jaulz (#575)
- Fix hitSlop right and left properties not being respected on android by @adamczyk777 (#572)
- Fix every Touchable crashes when the disabled prop is set to
true
by @todorone (#564) - Fix TouchableNativeFeedback background propTypes by @gmaclennan (#561)
- Fix peerDependencies version of react-native by @heyman333 (#554)
- Fix version of RNSlider by @osdnk (#532)
- Fix Detox running with RNGH(possibly other libraries) by @ddzirt (#525)
- Fix types for SwipeableProperties by @WhiteAbeLincoln (#521)
- Update PanGestureHandler example to not crash by @tonyxiao (#512)
- Ignore exclusive touch on tvOS by @kasinskas (#503)
- Removed unused import by @Dmytraw (#588)
- Export DrawerPosition, DrawerState, DrawerType and DrawerKeyboardDismissMode in TypeScript typings by @itsjgf (#568)
- Add a note about buttons accessibility to docs by @adamczyk777 (#565)
- Update handler-fling.md by @EvanBacon (#552)
- Add missing 'activeOpacity' prop in BorderlessButtonProperties type by @itsjgf (#545)
- Change style prop-type to any by @scottmas (#533)
- Forward ref for flatlist by @scottmas (#534)
- Fix minor typos in Docs by @codenjs (#528)
- Add FlatList to the list of native components by @lukePeavey (#513)
- Fix style in touchables by @osdnk (#491)
- Update react-native-gesture-handler.d.ts by @sunnylqm (#498)
- Enable NativeWrappers to use displayName from the wrapped component by @solkaz (#518)
- Remove ViewPager and Slider in favor of exporting createNativeWrapper by @karanjthakkar (#506)
- Add information and RN version compatibility by @osdnk (#504)
- Remove peerDependencies for web by @brentvatne (#487)
- Added tvos compatibility to podspec by @lukebars (#501)
Assets
2
Patch for 1.0.15 with #438 merged in (remove use of WebView from react-native package)
Assets
2
Assets
2
Assets
2
Minor release with a number of bugfixes and one new big feature – ForceTouchGestureHandler (also ripple color on Android slipped in for this release)
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
- ForceTouchGestureHandler by @osdnk (#374) READ DOCS HERE
- Ripple color can be customized on Android by @osdnk (#183)
- flow type fixes by @osdnk (#367)
- include missing files from the npm package by @SergeShkurko
- gestureHandlerRootHOC web compatibility changes by @EvanBacon (#351)
- Move Podspec to react-native link compatible location by @gongdao123 (#366)
- use RN's flow definition of StatusBarAnimation by @itsjgf (#365)
- optimize DrawerLayout by avoiding setState during animation by @kmagiera (#369)
- documentation improvements by @vonovak (#379)
- xcode project settings updates by @osdnk (#368)
- link example app with gesture-handler version from the root folder by @osdnk (#378)
- numerous improvements to DrawerLayout by @brentvatne (#381)
Assets
2
Minor release that includes important project level changes for compatibility with RN 0.57.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
- Fix for activeOffsetY and failOffsetY by @meros (#331)
- Gradle compatibility changes for RN 0.57 by @guix77 and @usrbowe (#345)
- Add testID to TS definition by @Zycon42 (#330)
- Remove cycle imports by @eriveltonelias (#340)
- Gradle wrapper upgrade by @dulmandakh (#348)
Assets
2
Minor release bringing some important bugfixes on top of 1.0.8 version.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
- Fix reference to failOffsetY by @jlongster (#306)
- Fix activation and cancellation criteria by @osdnk (#309)
- Fix propagation of new native config props in onComponentUpdate by @osdnk (#322)
- Improve wording in Getting Started guide by @samtheson (#318)
- Remove dependency cycles responsible for annoying warnings during install by @osdnk (#323)
Minor release to include fixed typescript definitions in the published package.
- #257 by @osdnk – add drawer example gifs to documentation
- #254 by @osdnk – add openLeft and openRight to Swipeable
- #256 by @henrikra - fix typescript definitions
This version includes some fundamental updates to the way we handle multi-touch interactions. But since the API stays the same and no breaking changes has been introduces we release it as a "minor" update which should allow most of the user to adapt this new version sooner.
- Interact with handlers using second or further finger – we now allow for handler to be activated with another finger while there is another interaction already happening. We now treat each finger as a separate stream of events that can be delivered to a completely different set of handlers. This does not affect the way it used to work when handlers overlap or are "nested" within each other. In such a case "simultanousHandlers" or "waitFor" can be used to control how handlers should activate. See a sample video here: https://twitter.com/kzzzf/status/1015907930649055233 (#237 author: @osdnk)
- #232 by @angly-cat – border radius fix for buttons on Android
- #235 by @kmagiera – restores a way for react-native-navigation apps to install GH root views on Android
- #248 by @osdnk – fixes issue with border radius reported in #222
- #250 by @osdnk – allows for render prop to be used with DrawerLayout component
- #247 by @osdnk – fixes problem with incorect tap gesture coordinates on Android reported in #241
- #240 by @osdnk – fixes problem with tap gesture coordinates on iOS reported in #233
- #219 by @pcooney10 – improve android installation instructions
- #242 by @brunolemos – adds our beautiful logo to the readme page
Minor release to include changes required for compatibility with React Native 0.56 – 10f239d
No other changes have been merged into this release since 1.0.4 except from changes that updates documentation and typescript definition file. Shout out to everyone who contributed these changes: @badmon, @itsjgf, @osdnk, @krzysztofciombor, @brentvatne and @BlenderDude
Minor release created mainly to fix issue with using react refs in redux-like environment (#182).
The remaining changes are related to updating propTypes, typescript interface and podspec.
All PRs included since 1.0.0:
- #178 (by @lnikkila)
- #181 (by @osdnk)
- #186 (by @itchingpixels)
- #188 (by @krzysztofciombor)
- #189 (by @osdnk)
Thanks to everyone who contributed their changes to this release!
1.0.0-alpha.43
kmagiera released this
Added FlingGestureHandler
Watchers:46 |
Star:2892 |
Fork:464 |
创建时间: 2016-10-27 16:31:38 |
最后Commits: 6天前 |
许可协议:MIT |
分类:混合移动开发 / JavaScript开发 |
收录时间:2016-10-28 10:23:48 |
eeb9350
Features
Add option to style touchable container by @njdancer
Other
Remove unused files by @friederbluemle
Update readme for running ios by @brobertsUPS
update getting started to include ios library import by @bell-steven
Thanks!