ncapdevi / FragNav

An Android library for managing multiple stacks of fragments
1.5k stars 220 forks source link

Updating to 2.3.0+ breaks CollapsingToolbar #108

Closed chrjsorg closed 6 years ago

chrjsorg commented 6 years ago

Hi,

first of all, thanks for your library. It worked great so far! :)

I just updated the library in my app from 2.2.3 to 2.40 (also tried 2.3.0) and I think there is a problem with AppBarLayout + CollapsingToolbarLayout

Context: I have a Fragment which has its own AppBarLayout which looks like this

It should look like this (expanded, collapsed): bildschirmfoto 2018-01-04 um 15 45 50 bildschirmfoto 2018-01-04 um 15 46 00

But since version 2.3.0 it looks like this (expanded, collapsed): bildschirmfoto 2018-01-04 um 15 48 51 bildschirmfoto 2018-01-04 um 15 48 59

Do you have an idea for this?

Cheers, Chris

ncapdevi commented 6 years ago

@chrjsorg I can't imagine any way that the library would be responsible for causing this issue, and it would be happening weather you used the Android backstack, or any other library. The only thing FragNav does it take in a single view ID for your layout, and use that as a container for transactions (the same way the Android backstack would). My guess is something else changed in your project or in one of your libraries (possibly an update to the support library?). However, if you can point it to something relevant within the library, I would be happy to help.