Skip to content

[Autocomplete] disablePortal and classes.popperDisablePortal are not usable #18305

@kelvin2200

Description

@kelvin2200
  • The issue is present in the latest release (@material-ui/[email protected]).
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Material-UI: the key popperDisablePortal provided to the classes prop is not implemented in ForwardRef(Autocomplete).
You can only override one of the following: root,focused,tag,inputRoot,input,inputFocused,clearIndicator,clearIndicatorDirty,popupIndicator,popupIndicatorOpen,popup,paper,listbox,loading,noOptions,option,groupLabel,groupUl.

Warning: React does not recognize the disablePortal prop on a DOM element.

Context 🔦

I am trying to design a custom autocomplete as per the example that reproduces the GitHub's label picker found on:
https://material-ui.com/components/autocomplete/

I don't have to actually do a sandbox, because i checked the es, esm and ts versions of the Autocomplete inside node_modules, and i found that those props are NOT defined, so the error is legit.

Am i using the wrong lab version?
Because whatever version is used on the material-ui website is NOT the one available to mortals.

Your Environment 🌎

Tech Version
Material-UI v4.6.0
React 16.9.0
Browser
TypeScript
etc.

Metadata

Metadata

Labels

scope: autocompleteChanges related to the autocomplete. This includes ComboBox.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions