Skip to content

Commit

Permalink
Revert "[FlexibleHeader] Fix bug where shadow layer's opacity wouldn'…
Browse files Browse the repository at this point in the history
…t be set without a tracking scroll view. (#3201)" (#3225)

This change is resulting in "stacked" shadows when an MDCAppBar is above an
MDCTabBar.  In the particular case of Tabs below an MDCAppBar, the shadow effect is discouraged in designs. We may need to provide client teams with advice on how to integrate MDCAppBar and MDCTabBar in a way that still permits the App Bar to cast a shadow on other (non-scrollable) views in an appropriate way.

This reverts commit d0af3a7.

Reverts #3201
  • Loading branch information
Robert Moore committed Apr 4, 2018
1 parent d63d4fe commit bcecad5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/FlexibleHeader/src/MDCFlexibleHeaderView.m
Expand Up @@ -911,7 +911,6 @@ - (void)fhv_accumulatorDidChange {

- (void)fhv_updateLayout {
if (!_trackingScrollView) {
[self fhv_commitAccumulatorToFrame];
return;
}

Expand Down

0 comments on commit bcecad5

Please sign in to comment.