We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: If we place a Slider with visible Label, the label does not move up or down inside a bottom sheet dialog.
Expected behavior: It should follow the dialog.
Source code:
After bottom sheet goes down:
The label position is not following the sheet.
Minimal sample app repro: -
Android API version: All
Material Library version: 1.13.0-alpha06
Device: -
The text was updated successfully, but these errors were encountered:
Workaround:
bottomSheetDialog.getBehavior().addBottomSheetCallback(new BottomSheetBehavior.BottomSheetCallback() { @Override public void onStateChanged(@NonNull View bottomSheet, int newState) { // lightweight // bottomSheet.setVisibility(View.GONE); // bottomSheet.setVisibility(View.VISIBLE); // or // slider.invalidate(); } @Override public void onSlide(@NonNull View bottomSheet, float slideOffset) { // smoother bottomSheet.setVisibility(View.GONE); bottomSheet.setVisibility(View.VISIBLE); // or // slider.invalidate(); } });
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description: If we place a Slider with visible Label, the label does not move up or down inside a bottom sheet dialog.
Expected behavior: It should follow the dialog.
Source code:
After bottom sheet goes down:
The label position is not following the sheet.
Minimal sample app repro: -
Android API version: All
Material Library version: 1.13.0-alpha06
Device: -
The text was updated successfully, but these errors were encountered: