Skip to content

fix toggleRowActive not passed#1

Open
timothylui wants to merge 81 commits intotimothylui:masterfrom
noypi:master
Open

fix toggleRowActive not passed#1
timothylui wants to merge 81 commits intotimothylui:masterfrom
noypi:master

Conversation

@timothylui
Copy link
Owner

No description provided.

gitim and others added 30 commits February 2, 2017 23:14
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. :)
Goes hand in hand with Gradle build tools upgrade.

Best to be on the most recent version.
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
Was coming up as grey on Android.
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.
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.
Now that it shows both iOS and Android the width prop was making it too small.
Defaults to 60, but can be changed. Especially useful when row height or list is small.
gitim and others added 30 commits May 25, 2017 12:19
- Use `manuallyActivateRows={true}` to have the `toggleRowActive` prop exposed to rendered rows.
- The out of box timer with pan responder will not activate rows.
- This should allow for child horizontal pan responders (ie swiping).
…ay] (gitim#82)

* Update SortableList.js

* Update data accept PropTypes
…header and footer (gitim#92)

ok, thanks for contribution, will release it soon
…itim#91)

* Add renderHeader which acts the same as renderFooter but at the top

* Keep trailing comma

* Revert undefined check fix for separate PR
* adding hide scroll indicator props

* proptypes and readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.