material-components / material-components/material-components-android
onQueryTextChange calls only once if I call mViewPager.setAdapter(mViewPagerAdapter) inside
@hunterstich is already working on this.
Since Feb 19, 2026.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
When I use com.google.android.material version 1.13.0
onQueryTextChange calls only once if I call mViewPager.setAdapter(mViewPagerAdapter) inside
And there is no onscreen keyboard appears.
It doens't happen with version 1.12.0
**Expected behavior:**
Here is the link to the video of this issue:
https://drive.google.com/file/d/1OFAXM6YWB1nl4SKUjS4U_IYrYwgQ_mfA/view?usp=sharing
**Minimal sample app repro:**
Here is the link to the project that shows this issue:
https://drive.google.com/file/d/1ie_nqlLGQMudliBm4CH8217SnTwCrcQi/view?usp=sharing
To reproduce this issue just change
material = "1.12.0" to
material = "1.13.0" in
libs.versions.toml file.
**Android API version:** 16
**Material Library version:** com.google.android.material 1.13.0
**Device:** Pixel 9 Pro XL
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.