Skip to content

Conversation

@gfontenot
Copy link
Contributor

It's occasionally useful to be able to have cells that don't respond to user
interactions, like if you're trying to pad out a grid with "empty" cells. In
that case, we should let consuming code mark child nodes as inactive, which
will disable the touch handling for the block.

This is an alternate implementation to the one proposed in #23. I believe they both try to solve the same problem, but in different ways.

It's occasionally useful to be able to have cells that don't respond to user
interactions, like if you're trying to pad out a grid with "empty" cells. In
that case, we should let consuming code mark child nodes as `inactive`, which
will disable the touch handling for the block.
@ollija ollija merged commit 208ef32 into ollija:master Oct 19, 2017
@eduardojunio
Copy link

@gfontenot although you couldn't move the item by dragging it, the other items movement will affect its order. So I made a PR (#42) that adds a flag called fixed to the children's components, all children with this flag won't be affected by other elements sorting.

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.

3 participants