Skip to content

[MaterialDatePicker] Dialogue height should wrap contents when toggling between "Calendar" and "Text" input modes #1911

@awat-langoe

Description

@awat-langoe

Description:
Height of MaterialDatePicker dialogue in "Text" input mode is larger than in the Material guideline documentation. The consequence of this is the dialogue obstructs more of the view below, and all the blank space does not look good IMO.

Screenshots from catalogue app:
device-2020-12-02-160628 device-2020-12-02-160639

Video from Material.io:
https://kstatic.googleusercontent.com/files/f7cbf55d79f5aad34e80b48b174c9fc3f30d05fef0653c08f8e53e023c9754e4be2dc1ebc9822425e8560f2b37a082a76b0913533283939f6485f00787f9efbd
The video is from "Components → Date pickers → Mobile pickers → Behavior"

Expected behavior:
Dialogue should wrap its height when toggling between "Calendar" and "Text" input modes.

Android API version: 11

Material Library version: 1.3.0-alpha04

Device: Emulator in Android Studio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions