material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

page is refreshing everytime when I typing a letter

Open CroMarmot opened this issue 1 year ago • 3 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Current behavior 😯

open page https://mui.com/zh/material-ui/material-icons

enter letter in search box

the page reloading

Expected behavior 🤔

open page https://mui.com/zh/material-ui/material-icons

enter letter in search box

just the list change instead of reloading full page

Steps to reproduce 🕹

Steps:

  1. open page https://mui.com/zh/material-ui/material-icons
  2. enter letter in search box

Context 🔦

Searching some icons

Your environment 🌎

no npx

just view your document in browser

chrome 104.0.5112.101(64bit) for Ubuntu 20.04.5 LTS x86_64

and Same issue in firefox 104.0 (64bit)

CroMarmot avatar Sep 02 '22 00:09 CroMarmot

I have the same issue.

a90100 avatar Sep 02 '22 06:09 a90100

I could reproduce this.

It seems like it is happening somewhere here looking in the code? https://github.com/mui/material-ui/blob/5defd72e2a160e450540d5aadfdd33629bdac5a3/docs/data/material/components/material-icons/SearchIcons.js#L485

cc @siriwatknp @CroMarmot @a90100

tigerabrodi avatar Sep 02 '22 17:09 tigerabrodi

@siriwatknp There was issue for a bug that I was interested in, so I submitted a PR. Could you please review it? Thanks in advance!

https://github.com/mui/material-ui/pull/34376

pppp606 avatar Sep 19 '22 08:09 pppp606