# An itemTouchHelper class object attached to my recycler makes my nested recycler glitch

**URL:** <https://discuss.kotlinlang.org/t/an-itemtouchhelper-class-object-attached-to-my-recycler-makes-my-nested-recycler-glitch/18939>\
**Category:** Support\
**Created:** [August 27, 2020, 12:35pm UTC](https://discuss.kotlinlang.org/t/an-itemtouchhelper-class-object-attached-to-my-recycler-makes-my-nested-recycler-glitch/18939 "2020-08-27T12:35:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeriAce](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@SeriAce](https://discuss.kotlinlang.org/u/SeriAce)\
**Post date:** [August 27, 2020, 12:35pm UTC](https://discuss.kotlinlang.org/t/an-itemtouchhelper-class-object-attached-to-my-recycler-makes-my-nested-recycler-glitch/18939/1 "2020-08-27T12:35:23Z")

</div>

heyho i have a horizontal scrolling recycler inside a recycler, for the start that works fine but i also have an onSwipe left ItemTouchHelper attached to the main recyclerView Items and that makes scrolling the nested recycler extremely glitch.  
Is there a way that i can not pass those swipe movements that are in the area of the nested recycler to the ItemTouchHelper so there is no interference?

swipe code in fragment:

````auto
        val itemSwipeLeftThoughtHelper = ItemTouchHelper(SwipeToDelete(thoughtsAdapter))
        // attached the itemTouchHelper that is responsible for swipe left delete to the thoughtsAdapter
        itemSwipeLeftThoughtHelper.attachToRecyclerView(binding.thoughtsRecycler)```

the itemtouchhelper class:
https://pastebin.com/k0KxaPra

here's a video of whats going on there
https://streamable.com/27i2ey
````
