This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-21
Channels
- # bangalore-clj (11)
- # beginners (82)
- # boot (1)
- # braveandtrue (29)
- # cider (16)
- # cljdoc (2)
- # cljs-dev (2)
- # clojure (74)
- # clojure-dev (3)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-nl (4)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-uk (53)
- # clojure-ukraine (1)
- # clojurescript (33)
- # cursive (29)
- # datomic (59)
- # editors (4)
- # emacs (14)
- # fulcro (2)
- # graphql (12)
- # hoplon (2)
- # nyc (4)
- # onyx (5)
- # parinfer (10)
- # pedestal (22)
- # re-frame (11)
- # reagent (35)
- # ring-swagger (5)
- # shadow-cljs (150)
- # tools-deps (9)
- # vim (1)
- # yada (20)
has anyone had success using react-sticky in a CLJS project?
or any other sticky header for that matter
for holding a table header in place
@thurmondmb there’s no reason why it won’t work. are you having a specific problem?
yea getting it in the project has been a pain
[cljsjs/react-sticky "6.0.2-0"]``
in project clj
in require [cljsjs.react-sticky]
but I get tons of react errors about the DOM
so now I'm going back in and messing around with the project.clj ;[cljsjs/react "15.6.2-5"] ;[cljsjs/react-sticky "6.0.1-0" :exclusions [cljsjs/react cljsjs/react-dom]] ;[cljsjs/react-sticky "5.0.8-0"] [cljsjs/react-sticky "6.0.2-0"] [cljsjs/prop-types "15.6.2-0"] [cljsjs/react-dom "15.6.2-5"] [cljsjs/react "15.6.2-5"]
I'll look into that
thanks, can I use it with lein?
I've been trying to use react-select. However the rendering is messed up: the input field is small and options list isn't rendered on a pop-up/modal. I'm also using material-ui and following this https://material-ui.com/demos/autocomplete/ example. Has anyone faced a similar issue or knows what's going on?
@jlucas.nsilva sounds like you’re not shipping the right css perhaps? i’m not the familiar with how material-ui works but that’s what it sounds like
the other option is that sometimes you are required to pass a style object down to your component
Thank you. I'll check it.
The no css files are refered in the cljsjs react-select's README. The component (Select, from react-select) allows for the user to provide custom components. I did as the example linked above shows, but the components I provided are not being mounted.
@thurmondmb try https://github.com/jmlsf/shadow-react-sticky if you want to mess with shadow
@jlucas.nsilva hard to diagnose what’s going on from what you’ve said so far
That's how the select is displayed when I do
Same thing happened to me when I attempted to use "pikaday" from cljsjs.
has anyone used this: https://www.cssscript.com/fix-table-header-column/
not going to lie, I have a pretty big project and I'm not sure if I want to re-configure it to run shadow js (hopefully I am articulating myself well enough here)
has anyone followed this one https://github.com/cljsjs/packages/tree/master/react-sticky
also is it possible to create a stationary header for a dynamic table with hiccup and css?
ha yea I figured since reagent is built on react 🙂