This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-13
Channels
- # announcements (12)
- # babashka (42)
- # beginners (45)
- # calva (60)
- # cider (6)
- # circleci (1)
- # clj-kondo (18)
- # clojure (21)
- # clojurescript (36)
- # conjure (13)
- # cursive (2)
- # datahike (5)
- # datomic (4)
- # depstar (17)
- # emacs (4)
- # fulcro (3)
- # honeysql (2)
- # jobs (2)
- # jobs-discuss (9)
- # lsp (98)
- # malli (32)
- # off-topic (36)
- # other-languages (2)
- # overtone (4)
- # re-frame (5)
- # reveal (7)
- # rewrite-clj (47)
- # shadow-cljs (25)
- # spacemacs (4)
- # vim (7)
Hi all, anyone using re-com? If so, any suggestions on getting a typeahead focusing upon creation? I see in the source there is a TODO to add focus management like this. Any ideas much appreciated.
I.e. wrap the typeahead component into some other component that uses reagent.core/create-class
, and in its :component-did-mount
handler focus the typeahead component.
@U2FRKM4TW Thank you, going to try that now. Any ideas on getting at the element to call focus on? In general when trying to get at the sub elements what is the best practice? Do I just find the element using goog and the class name?