title: Button doesn't have ripple effect on clicking (Jetpack Compose)
body: <p>AFAIK, the buttons created with Jetpack compose should have ripple effect on clicking, by default.
  But my button doesn't show ripple effect on clicking. Below is code for my button:</p>
  <pre><code> BoxWithConstraints(modifier = Modifier
                  .constrainAs(button) {
                      top.linkTo(glTopButtonProceed)
                      start.linkTo(glLeftBtn)
                      end.linkTo(glRightBtn)
                      width = Dimension.fillToConstraints
  
                  }) {
  
                  Button(
                      onClick = {
                          navController.navigate(&quot;autosave_screen&quot;)
                      },
                      modifier = Modifier
                          .fillMaxWidth()
                          .height(if (screenHeight&gt;=700.dp)
                              50.dp
                          else
                              with(LocalDensity.current) {dimensionResource(id = R.dimen._35sdp)}) ,
  
  
  
                      colors = if (text.text != &quot;&quot; &amp;&amp; text.text.length == 4)
                          ButtonDefaults.buttonColors(backgroundColor = colorResource(id = R.color.bright_green))
                      else
                          ButtonDefaults.buttonColors(backgroundColor = colorResource(id = R.color.gray))
  
                  ) {
                      Text(
                          &quot;Proceed&quot;, color = colorResource(id = R.color.dark_blue),
                          fontSize =
                          if (screenHeight&gt;=700.dp)
                              19.sp
                          else
                              with(LocalDensity.current) {dimensionResource(id = R.dimen._12sdp).toSp()},
                          fontFamily = FontFamily(Font(R.font.poppins_medium)),
  
                          textAlign = TextAlign.Center,
                          modifier = Modifier.align(Alignment.CenterVertically)
                      )
  
                  }
  
              }
          }
  </code></pre>
  <p>How do I enable ripple effect for my button?</p>