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

[Exposed Dropdown Menu] Tapping creates flickering ripple effect

Open
#3,562 0 comments 2 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:** If you tap on an Exposed Dropdown Menu, it'll create a ripple effect for half a second before abruptly disappearing. There is no animation when it appears or disappears. Holding down on the Exposed Dropdown Menu will create a functional ripple effect.

Here's a screenshot of the broken ripple effect:

![image](https://github.com/material-components/material-components-android/assets/17478432/3db15abf-0571-46ec-9c40-468a19b583ad)

When I took this screenshot, I was tapping the center of the text box, so the ripple was also appearing at an incorrect position.

**Expected behavior:** It has a normal ripple effect.

**Source code:** The `Exposed Dropdown Menu Demo` in the Material Components Catalog.

**Minimal sample app repro:** The Material Components Catalog.

**Android API version:** API 33

**Material Library version:** 1.11.0-alpha02

**Device:** Galaxy S21

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 by running the Exposed Dropdown Menu Demo in the Material Components Catalog and reproduce the tap behavior on API 33. Trace the demo's dropdown and ripple handling to determine why the ripple appears at the wrong position and disappears abruptly; done means tapping produces a normal ripple effect with the expected animation and placement.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.