This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-16
Channels
- # announcements (7)
- # babashka (1)
- # beginners (25)
- # calva (7)
- # cider (15)
- # clj-kondo (13)
- # cljdoc (14)
- # clojure (151)
- # clojure-europe (4)
- # clojure-hamburg (2)
- # clojure-italy (22)
- # clojure-nl (57)
- # clojure-spec (12)
- # clojure-uk (6)
- # clojuredesign-podcast (5)
- # clojurescript (12)
- # core-async (8)
- # cursive (26)
- # datascript (9)
- # datomic (92)
- # emacs (4)
- # fulcro (7)
- # graalvm (1)
- # graphql (2)
- # instaparse (3)
- # jobs (1)
- # jvm (2)
- # kaocha (6)
- # nrepl (3)
- # off-topic (5)
- # re-frame (45)
- # reagent (5)
- # reitit (18)
- # ring (1)
- # shadow-cljs (89)
- # slack-help (9)
- # spacemacs (2)
- # sql (54)
- # tools-deps (75)
- # vim (28)
- # xtdb (17)
- # yada (31)
Not sure if this is the proper place to ask this, but I couldn't replicate the error on the Material UI website. Has anyone seen this error when working with Material UI Menus?
Warning: React does not recognize the `autoFocusItem` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `autofocusitem` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
It only breaks the up and down keyboard functionality but I really hate red errors in my console
Well it happens with all Menus, Selects, and TextFields
clojure
[m/FormControl {:full-width true}
[m/InputLabel "Test"]
[m/Select {:value 1}
[m/MenuItem {:value 1} "One"]
[m/MenuItem {:value 2} "Two"]
[m/MenuItem {:value 3} "Three"]]]
Even really simple components throw the error. The strange thing is, I haven't noticed it until recently. Tried reverting reagent, react, and MUI to previous versions but the problem still seems to persist. Passing <component>Props to disable autoFocusItem doesn't seem to work either. Thanks for the response BTW. Probably just going to write my own menu component that handles these things.👍 4