Skip to content

Conversation

@johnpryan
Copy link
Contributor

@johnpryan johnpryan commented Feb 7, 2024

flutter/flutter#137415 changed NavigationRail to use a SingleChildScrollView, so this sample can't use Expanded for the trailing widget anymore.

cc: @goderbauer @QuncCccccc

Fixes flutter/flutter#143061

NavigationRail now uses a SingleChildScrollView (flutter/flutter#137415)

fixes flutter/flutter#143061
@johnpryan johnpryan requested a review from kevmoo February 7, 2024 16:57
@johnpryan
Copy link
Contributor Author

Looks like I broke some tests, investigating...

@goderbauer
Copy link
Member

If the framework change that caused this turns out to be too breaking we may just want to roll it back.

Side node: should we run the samples tests as part of the framework presubmit to get an additional signal for breaking changes? The tests could be added to https://github.com/flutter/tests to accomplish that.

@johnpryan
Copy link
Contributor Author

This is turning out to be more difficult than I was expecting. The sidebar seems to be too large in the medium-width case:

Screenshot 2024-02-07 at 10 42 46 AM

@johnpryan
Copy link
Contributor Author

Reverting flutter/flutter#137415 and adding this sample to our framework tests sounds good to me (although we might want to think about how to do that in a maintainable way)

@goderbauer
Copy link
Member

I'll get the revert going...

@johnpryan johnpryan closed this Feb 7, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 7, 2024
Reverts #137415

Reverting due to #143061. this is breaking some existing use cases, see also flutter/samples#2157. If we try this again, we need to add this in less breaking way.

Fixes #143061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Material 3 demo doesn't load the left color sidebar with latest dev channel

3 participants