title: Recyclerview overflowing ConstraintLayout
body: <p>I am trying to create a recyclerview that grows in size with additional items until a certain max height and then fades away. I understand that Constraint layout is the right way to go here and I swear this was already working a month or so ago and then the Recyclerview stopped caring about its constraint and being visible beyond 280dp (see picture). here is my code. I am certain this was already working, I dont know if google changed something to implementation "androidx.constraintlayout:constraintlayout:2.0.0-beta4" or if I am slowly going mad. Maybe someone knows how to fix this. maybe its down to the implementation being beta. any help will be much appreciated.</p>
  
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  app:layout_behavior="@string/appbar_scrolling_view_behavior"
  tools:context=".MainActivity"
  tools:showIn="@layout/activity_tilemap"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"&gt;
  
  
      &lt;androidx.recyclerview.widget.RecyclerView
          android:layout_width="match_parent"
          android:layout_height="0dp"
          app:layout_constraintHeight_default="wrap"
          app:layout_constraintHeight_max="280dp"
          app:layout_constrainedHeight="true"
          app:layout_constraintTop_toTopOf="parent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintBottom_toBottomOf="parent"
          android:fadingEdge="horizontal"
          android:fadingEdgeLength="30dp"
          android:fillViewport="true"
          android:requiresFadingEdge="vertical"
          android:id="@+id/rv_comms"
          android:padding="0dp"
          android:clipToPadding="false" /&gt;
  
  
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/gSK09.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gSK09.jpg" alt="enter image description here"></a></p>