material-components / material-components/material-components-android

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

Open
#3,417 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: TextField
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** Ripples always spread from the centre of the widget.
[![p94gXpF.png](https://s1.ax1x.com/2023/05/20/p94gXpF.png)](https://imgse.com/i/p94gXpF)

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

**Source code:**
```xml

```

**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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the M3 Catalog > Text Field > Exposed Drop-down Menu Demo and reproduce the issue using the provided TextInputLayout and AutoCompleteTextView XML on Android S. Inspect the exposed drop-down menu ripple behavior and verify that the ripple originates at the user's touch position rather than the widget center.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.