material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[TextInputLayout] The position of Exposed Drop-down Menu's ripples is incorrect

Open ABVerterX opened this issue 1 year ago • 0 comments

Description: Ripples always spread from the centre of the widget. p94gXpF.png

Expected behavior: Ripples should spread from the position touched by the user.

Source code:

<com.google.android.material.textfield.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="?attr/textInputFilledExposedDropdownMenuStyle">
        <AutoCompleteTextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="none"
            app:simpleItems="@array/cat_textfield_exposed_dropdown_content" />
</com.google.android.material.textfield.TextInputLayout>

Minimal sample app repro: M3 Catalog > Text Field > Exposed Drop-down Menu Demo

Android API version: Android S

Material Library version: 1.10.0-alpha03

Device: Motorola edge X30

ABVerterX avatar May 20 '23 02:05 ABVerterX