Orbital icon indicating copy to clipboard operation
Orbital copied to clipboard

Orbital Content does not resize correctly for updated padding

Open lukasrosenke opened this issue 1 year ago • 0 comments

ViewCompat.setOnApplyWindowInsetsListener(findViewById(android.R.id.content)) { view, insets ->
       val bottom = insets.getInsets(WindowInsetsCompat.Type.ime()).bottom
       view.updatePadding(bottom = bottom)
       insets
}

Components wrapped into Orbital {...} do not resize if padding were to be updated by the function above due to for example the keyboard.

lukasrosenke avatar Jan 02 '24 18:01 lukasrosenke