Kin69 / EasyNotes

EasyNotes: Jetpack Compose MVVM for seamless note-taking. Effortless creation, editing, and organization.
GNU General Public License v3.0
395 stars 30 forks source link

Lower elements might be inaccessible (no bottom padding in scaffold) #43

Closed wadeack closed 5 months ago

wadeack commented 5 months ago

Steps to reproduce:

  1. Make sure navigation buttons or any other OS-provided panel is visible
  2. Open application in landscape mode
  3. Go to settings
  4. (Alternatively to step 2) create several notes so they fill the whole screen

Expected behaviour: Padding is applied based on available part of the screen.

Actual behaviour: No padding is applied, so some items at the very bottom might become inaccessible: image

The fix is trivial - call calculateBottomPadding() on Box's modifier within Scaffold.