Commit Graph

75 Commits

Author SHA1 Message Date
Timur Gibadullin
40dbf3e7df update order 2017-06-02 18:51:19 +03:00
Timur Gibadullin
14b99a50af Add description about rowActivationTime prop 2017-05-25 12:24:56 +03:00
Timur Gibadullin
6d8015da23 Release 0.0.14 2017-05-25 12:19:49 +03:00
Timur Gibadullin
0f94a8d86d Introduce rowActivationTime prop 2017-05-25 12:19:27 +03:00
Timur Gibadullin
70fbbc1ea4 Release 0.0.13 2017-05-17 10:21:29 +03:00
Timur Gibadullin
791646e8c7 Fix crash null is not an object (evaluating 'footerLayout.height') 2017-05-17 10:20:42 +03:00
Timur Gibadullin
dfb3eedc5c Mark optional props in README 2017-05-13 01:07:35 +03:00
Timur Gibadullin
d6bf50d0d2 Release 0.0.12 2017-05-13 00:39:18 +03:00
Timur Gibadullin
e9eeb61923 Fix bug while dragging over footer 2017-05-13 00:36:46 +03:00
Timur Gibadullin
ece89fd349 Add renderFooter 2017-05-13 00:13:40 +03:00
Tim Gibadullin
848f863472 Update README.md 2017-05-04 18:07:20 +03:00
Timur Gibadullin
c06d235a06 Release 0.0.11 2017-04-27 14:33:37 +03:00
Timur Gibadullin
033a02fc8b Fix the component appearance 2017-04-27 14:33:08 +03:00
Timur Gibadullin
11c692208a Fix autoscroll on Android 2017-04-27 14:17:49 +03:00
Timur Gibadullin
ba61c84cda Some improvements in code and doc 2017-04-27 11:58:17 +03:00
Timur Gibadullin
fe0bdbd0fa Use local version of the module in Basic example 2017-04-27 11:46:37 +03:00
Sam-Nicolai Johnston
4dff5598da Added refreshControl to ScrollView (#43) 2017-04-27 11:33:17 +03:00
George Lu
081560a88d Remove opacity animation upon mounting and updating (#44)
* removed opacity animation

* fix container style

* remove animation callbacks
2017-04-20 19:24:54 +03:00
Timur Gibadullin
0f2422756f Release 0.0.10 2017-04-18 22:12:28 +03:00
Timur Gibadullin
064a4293e7 Fix bug when scroll enabled after releasing row 2017-04-18 22:09:09 +03:00
Ivan Wu
5bb316bc8b Stop autoScroll if scroll disabled 2017-04-16 23:48:05 +03:00
Timur Gibadullin
fd9ec36715 Add Horizontal example 2017-04-05 11:09:40 +03:00
Timur Gibadullin
9ef4123c3e Add horizontal direction support 2017-04-05 11:09:40 +03:00
Timur Gibadullin
5138d171b3 Release 0.0.8 2017-04-04 22:45:07 +03:00
Ivan Wu
60d5d8811e removed an unused prop, allows touchables now 2017-04-04 22:23:26 +03:00
Tim Gibadullin
3ef59f023d Update README.md 2017-03-17 08:56:57 +03:00
Tim Gibadullin
50fbfe2402 Update README.md 2017-03-17 08:55:29 +03:00
Timur Gibadullin
f85737d0fc Fix readme 2017-03-17 08:52:53 +03:00
Timur Gibadullin
0efb91a0bb Release 0.0.7 2017-03-16 19:48:11 +03:00
Timur Gibadullin
c89f347b26 Add onPressRow prop 2017-03-16 19:46:57 +03:00
Timur Gibadullin
c5c783527f Change version from 1.0.0 to 0.0.6 2017-03-07 18:39:38 +03:00
Timur Gibadullin
a840b9e245 Add missing function arguments 2017-03-07 15:16:00 +03:00
Timur Gibadullin
56d9c3f351 Release 1.0.0 2017-03-07 09:58:14 +03:00
Timur Gibadullin
2561734329 Fix code style 2017-03-07 00:31:12 +03:00
Joshua Pinter
97163b8458 Allow scrolling unless long press on Android.
Fixes one fo the big ToDos in https://github.com/gitim/react-native-sortable-list/issues/15.
2017-03-07 00:28:31 +03:00
Joshua Pinter
e5cf86e565 Add autoscrollAreaHeight to README. 2017-03-07 00:11:29 +03:00
Joshua Pinter
25272b1614 Expose autoscrollAreaHeight as a prop instead of a constant.
Defaults to 60, but can be changed. Especially useful when row height or list is small.
2017-03-07 00:11:29 +03:00
Joshua Pinter
64fe9bc865 Remove width on gif.
Now that it shows both iOS and Android the width prop was making it too small.
2017-03-07 00:10:16 +03:00
Joshua Pinter
bc58058f45 Update demo.gif. 2017-03-06 19:48:34 +03:00
Joshua Pinter
9c76f21fcf Animate elevation when card is picked up.
Had to adjust a tonne of the styling to make this work and look good.

Essentially, on iOS the shadows are just cast across any boundaries of the element, but with Android, you need to provide padding (or margin) for those shadows and scaling to come through.

So, instead of having a horizontal margin on the entire SortableList, I set the horizontal margin on the rows themselves. This gives plenty of room to conduct those animations and shadows.

I also added a similar scaling transform for Android, except a little smaller so we can get more of the shadow from elevation in.

I tested out different elevation ranges and this looks to be about right.
2017-03-06 19:48:34 +03:00
Joshua Pinter
f568a26ca5 Use bounce Easing for animation.
It’s a little more playful. I like that.

Also lengthed the animation to 300 so it feels more natural.

Tested out elastic (no worky on Android), ease, inout, quad.

I like this one the best.
2017-03-06 19:48:34 +03:00
Joshua Pinter
e263f49782 Set color of text.
Was coming up as grey on Android.
2017-03-06 19:48:34 +03:00
Joshua Pinter
35dcafb5a9 Add title. 2017-03-06 19:48:34 +03:00
Joshua Pinter
d44f3a0aa2 Corrected padding to allow for Android’s elevation dropshadows to not get cut off. 2017-03-06 19:48:34 +03:00
Joshua Pinter
00f03749e7 Turn kitties into cards on Android. 2017-03-06 19:48:34 +03:00
Joshua Pinter
212fbaa0fa Specify React Native version number to compile.
We have it listed in package.json as ^0.41.2 so let’s make sure to use a similar approach in Gadle.

Just as a reminder, 0.41+ means any versions like 0.42, 0.43, etc. which is the same meaning ^0.41.2 in package.json.

According to http://ant.apache.org/ivy/history/trunk/settings/version-matchers.html
2017-03-06 12:23:31 +03:00
Joshua Pinter
9363b8abbf Update Android build tools to 25.0.0.
Goes hand in hand with Gradle build tools upgrade.

Best to be on the most recent version.
2017-03-06 12:23:31 +03:00
Joshua Pinter
f58037b866 Update Gradle build tools to 2.3.0.
Highly recommended.
2017-03-06 12:23:31 +03:00
Joshua Pinter
a88e7f0168 Update gradle wrapper to 3.3.
Highly recommended.
2017-03-06 12:23:31 +03:00
Joshua Pinter
bdf3ebae96 Replace first kitten photo with a working one. (#16)
The first kitty in the example app didn’t have a picture because the URL for the image wasn’t working. Updated it to a random working one and now we can see 1 more kitty in the lineup. :)
2017-03-06 12:12:44 +03:00