As you can see in the image , red border rectangle is the parent activity . Blue one is dialog fragment . The circle is indicating a view and rectangle below is the
If someone is still struggling with this one, this is how is solved it.
dialog?.window?.decorView?.setOnTouchListener { v, event -> activity?.dispatchTouchEvent(event) false }
this will pass touch event through