# Swipeable containers with display flex ignore the gap property

**URL:** <https://community.appfarm.io/t/swipeable-containers-with-display-flex-ignore-the-gap-property/1746>\
**Category:** Bug reports\
**Tags:** ui\
**Created:** [March 24, 2025, 8:52am UTC](https://community.appfarm.io/t/swipeable-containers-with-display-flex-ignore-the-gap-property/1746 "2025-03-24T08:52:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [March 24, 2025, 8:52am UTC](https://community.appfarm.io/t/swipeable-containers-with-display-flex-ignore-the-gap-property/1746/1 "2025-03-24T08:52:04Z")

</div>

The flex containers with `Iterate Data Source` seem to disregard the gap setting when you choose one of the swipeable variants. This applies to both vertical and horizontal variants.

---

<div class="post-metadata">

**Author:** ![ulrik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/ulrik/32/1912_2.png) [@ulrik](https://community.appfarm.io/u/ulrik)\
**Post date:** [March 24, 2025, 11:32am UTC](https://community.appfarm.io/t/swipeable-containers-with-display-flex-ignore-the-gap-property/1746/2 "2025-03-24T11:32:46Z")

</div>

Hi Joanna,

I was able to reproduce the bug and have created a challenge for the dev team!  
Thank you for pointing this bug out 😀

A workaround that worked for me is to add a respective padding to the container that is being iterated.

---

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [March 24, 2025, 12:10pm UTC](https://community.appfarm.io/t/swipeable-containers-with-display-flex-ignore-the-gap-property/1746/3 "2025-03-24T12:10:43Z")

</div>

Thanks, Ulrik! An additional margin is a sufficient workaround for us for now. It does create some additional challenges regarding the last item of the set, so it would be great if you could let us know once the gap property gets fixed 🙂
