-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Tab tray collapses to semi-closed state when tapping on it #14980
Comments
According to https://material.io/develop/android/components/sheets-bottom, " |
@hwinnemoe you're right. 🤔 I think we had that set at one point. Will have to investigate what happened to it |
The state is actually |
@mcarare would it be possible that nothing happens when people just tap on the header part of the sheet? |
Looked into this and saw that it's not really possible to disable
What I'll go with is just setting a very small height for the tabs tray when in To respond to @topotropic to the question above: yes, I'll make it so that nothing will happen when users will tap the header part of the tray. |
STATE_HALF_EXPANDED cannot be disabled while also keeping fitToContents = true based on which the tabs tray layout is currently set. To work around this we'll set a a minuscule height for the tab tray when in this state and then immediately advance to STATE_HIDDEN so to make it imperceptible to the users. Since I couldn't write unit tests because of InflateExceptions in Robolectric I've written UI tests to protect against regressions.
Steps to reproduce
Expected behavior
I do not know what the expected behaviour here should be.
Actual behavior
The tab tray closes halfway. Doing this in landscape mode produces an even less useful result. Note: Same result as #13777 but different STR.
Device information
AC: 58.0.20200908130811, 52ac53ba1
GV: 82.0a1-20200907094115
AS: 61.0.13
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: