Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Orbital Content does not resize correctly for updated padding #39

Open
lukasrosenke opened this issue Jan 2, 2024 · 0 comments
Open

Comments

@lukasrosenke
Copy link

lukasrosenke commented Jan 2, 2024

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant