Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][Autocomplete] Fix listbox opens and closes on click when used with limitTags #42494

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 9 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7669861
fix autocomplete component by add style property (#42432)
appleSimple Jun 2, 2024
38cbba6
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Jun 13, 2024
e041613
fix: add prevent click events when to occured Input's mouse down event.
appleSimple Jun 16, 2024
fecd283
chore: run pnpm prettier
appleSimple Jun 16, 2024
eca42df
fix: add pointerEvents on Input
appleSimple Jun 18, 2024
bbc81bf
fix: move style property
appleSimple Jun 18, 2024
6f2ad39
Merge branch 'next' into autocomplete-limit-tags
appleSimple Jun 20, 2024
158b045
fix: add style property
appleSimple Jun 24, 2024
7db22a6
fix: apply specific input
appleSimple Jun 24, 2024
163f28f
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Jun 30, 2024
115d3d7
apply requested changes
ZeeshanTamboli Jun 30, 2024
9c00ec3
fix when click indicator
appleSimple Jul 13, 2024
e82dcbb
add limittags test code
appleSimple Jul 13, 2024
30f8049
Merge branch 'next' into autocomplete-limit-tags
appleSimple Jul 13, 2024
f37b634
run prettier
appleSimple Jul 13, 2024
56239f9
move code
appleSimple Jul 14, 2024
a541af8
cancel annotation
appleSimple Jul 14, 2024
fb9218c
fix test
appleSimple Jul 14, 2024
8eef03c
remove log
appleSimple Jul 14, 2024
ff233b7
for rerun
appleSimple Jul 14, 2024
4d1f9c3
for rerun
appleSimple Jul 14, 2024
4d73bf1
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Jul 15, 2024
87889c4
Remove changes from @mui/base
ZeeshanTamboli Jul 15, 2024
1c75822
Update packages/mui-material/src/Autocomplete/Autocomplete.test.js
appleSimple Jul 16, 2024
73ae5d9
fix test code
appleSimple Jul 16, 2024
1f436df
fix test code and run prettier
appleSimple Jul 21, 2024
0d0d731
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Jul 22, 2024
f792bc7
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Jul 23, 2024
3456b2c
update test
ZeeshanTamboli Jul 23, 2024
22bcbbe
Merge branch 'next' into autocomplete-limit-tags
ZeeshanTamboli Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/mui-material/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ const AutocompleteRoot = styled('div', {
textOverflow: 'ellipsis',
opacity: 0,
},
[`& .${autocompleteClasses.tag} ~ .${autocompleteClasses.input}`]: {
pointerEvents: 'none',
},
variants: [
{
props: { fullWidth: true },
Expand Down
Loading