title: Jetpack Compose : How to move up the floatingActionButton for snackbar?
body: <p>I am trying to make the floating action button move up to make room for the Snackbar to appear, which is the
  normal behavior when using android xml UI files.</p>
  <p>It looks like its not implemented in Scafford.</p>
  <p>Please find below my code so far on Compose for desktop (But it should be similar on Android) :</p>
  <pre><code>fun main() = Window(
      title = &quot;Box Demo&quot;,
      size = IntSize(600, 500)
  ) {
  
      MaterialTheme {
  
          val snackbarHostState = remember { SnackbarHostState() }
  
          val scaffoldState = rememberScaffoldState()
  
          Scaffold(
              scaffoldState = scaffoldState,
  
              snackbarHost = {scaffoldState.snackbarHostState },
  
              floatingActionButtonPosition = FabPosition.End,
  
              floatingActionButton = { FloatingActionButton(onClick = {}) { Text(&quot;+&quot;) } },
  
              topBar = { TopAppBar(title = { Text(&quot;TopAppBar&quot;) }) },
  
              bottomBar = { BottomAppBar() { Text(&quot;BottomAppBar&quot;) } }
  
          ) {
              Column(
                  modifier = Modifier.fillMaxSize()
              ) {
  
                  Button(
                      modifier = Modifier.padding(top = 20.dp, start = 20.dp),
                      onClick = {
                          GlobalScope.launch {
                              snackbarHostState.showSnackbar(
                                  message = &quot;Hey I am a snackbar&quot;,
                                  actionLabel = &quot;Hide&quot;,
                                  duration = SnackbarDuration.Short
                              )
                          }
                      }
                  ) {
                      Text(&quot;Show snackbar&quot;)
                  }
  
                  SnackbarHost(
                      modifier = Modifier.padding(top = 180.dp),
                      hostState = snackbarHostState,
                      snackbar = {
                          Snackbar(
                              action = {
                                  TextButton(
                                      onClick = {
                                          snackbarHostState.currentSnackbarData?.dismiss()
                                      }
                                  ) {
                                      Text(
                                          text = snackbarHostState.currentSnackbarData?.actionLabel ?: &quot;&quot;,
                                          style = TextStyle(color = Color.White)
                                      )
                                  }
                              }
                          ) {
                              Text(snackbarHostState.currentSnackbarData?.message ?: &quot;&quot;)
                          }
                      }
                  )
              }
          }
      }
  }
  </code></pre>
  <p>my config:</p>
  <pre><code>plugins {
      kotlin(&quot;jvm&quot;) version &quot;1.4.21&quot;
      id(&quot;org.jetbrains.compose&quot;) version &quot;0.2.0-build132&quot;
  }
  </code></pre>