Gumiku
05/31/2022, 8:37 AMset enabled
for modifier swipeable
Modifier.swipeable(enabled = false)
not work fine now, even set enabled = false
SwipeableState.offset still keep changing
any idea about this?Stylianos Gakis
05/31/2022, 8:57 AMGumiku
05/31/2022, 9:08 AMdisable swipeable
depend on some state changes,
any idea how can I do it ? 🤔 @Stylianos GakisStylianos Gakis
05/31/2022, 9:14 AMswipeable
modifier directly myself so no I don’t know anything else than that. The docs seem to be explaining that setting that as disabled should make it so that the user can not interact with it. If this is not the case the options are:
1. I am understanding something wrong
2. You are not setting it as false or are setting false to the wrong swipeable or there is another swipeable “above” the one you’re disabling so you can still scroll despite it being off, or some other simple mistake you’re missing.
3. There’s a bug in the swipeable code.
I don’t think I can help more than that unfortunatelyjossiwolf
05/31/2022, 3:00 PM