[fenix] For https://github.com/mozilla-mobile/fenix/issues/19135 - Offer more context for why STATE_HALF_EXPANDED is not used

pull/600/head
Mugurell 3 years ago
parent 65f75412cd
commit 31707aa40d

@ -93,7 +93,7 @@ internal class TraySheetBehaviorCallback(
trayInteractor.onTabTrayDismissed()
} else if (newState == BottomSheetBehavior.STATE_HALF_EXPANDED) {
// We only support expanded and collapsed states.
// But why??
// Otherwise the tray may be left in an unusable state. See #14980.
behavior.state = STATE_HIDDEN
}
}

Loading…
Cancel
Save