I am not sure if there is currently another way to achieve that but I want the content to scroll under the navigation bar which it does by default when removing the WindowInsets correctly but then the bottom padding is not fully controllable.
I am looking for some contentPadding to apply to the PdfView. Normally I would add a wrapper element around the view itself, add the verticalScroll modifier to the wrapper and apply navigationBarsPadding() to the view so that at the end of scrolling the last bit of content can scroll until it's above the navigation bar.
Since PdfView is a LazyColumn and does some scrolling stuff on its own, this does not seem to be possible. When I try to do so it's not crashing but I don't see any content anymore.
I am not sure if there is currently another way to achieve that but I want the content to scroll under the navigation bar which it does by default when removing the WindowInsets correctly but then the bottom padding is not fully controllable.
I am looking for some contentPadding to apply to the
PdfView. Normally I would add a wrapper element around the view itself, add theverticalScrollmodifier to the wrapper and applynavigationBarsPadding()to the view so that at the end of scrolling the last bit of content can scroll until it's above the navigation bar.Since
PdfViewis aLazyColumnand does some scrolling stuff on its own, this does not seem to be possible. When I try to do so it's not crashing but I don't see any content anymore.