It’s almost one year later…. it would be great if it was possible to disable/enable the leading/trailing swipe action with an condition. Is this feature already on the roadmap?
I hear you that swipe enable/disable control would be really useful, especially when different screens need different behavior. As far as I know, there isn’t a built in option in Bubble to conditionally turn the leading/trailing swipe actions on or off yet, and it hasn’t been officially added to the responsive/mobile roadmap.
Right now most people work around it by controlling what happens after the swipe rather than stopping the swipe itself like checking a custom state or condition in the workflow triggered by the swipe. It’s not perfect, but it’s the closest thing that works today.
Hopefully Bubble adds a native toggle for that soon. If you want, I can share a simple conditional pattern you can use in the meantime so those swipes only do something when you want them to.
Thanks, that’s the same workaround I’m using for now. The only downside is that it’s confusing for users: they can swipe the element left and right, but nothing happens. I also think disabling that interaction shouldn’t be hard to implement. Hopefully this feature gets added soon!