This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-07
Channels
- # admin-announcements (4)
- # aws (2)
- # beginners (25)
- # boot (116)
- # braid-chat (4)
- # cider (6)
- # cljsjs (4)
- # cljsrn (17)
- # clojure (196)
- # clojure-austin (23)
- # clojure-belgium (5)
- # clojure-dev (78)
- # clojure-dusseldorf (6)
- # clojure-italy (2)
- # clojure-japan (6)
- # clojure-poland (1)
- # clojure-russia (132)
- # clojure-sdn (1)
- # clojure-uk (26)
- # clojurescript (87)
- # code-reviews (3)
- # core-async (26)
- # cursive (8)
- # datomic (40)
- # devcards (8)
- # emacs (4)
- # funcool (32)
- # hoplon (30)
- # jaunt (34)
- # jobs (1)
- # lein-figwheel (1)
- # leiningen (5)
- # om (14)
- # onyx (8)
- # overtone (31)
- # parinfer (14)
- # proton (8)
- # protorepl (1)
- # re-frame (30)
- # reagent (10)
- # spacemacs (2)
- # untangled (107)
- # yada (3)
@fabrao: I think I found something that may work for you - using detachable
false. Try updating the page function like this:
(defn page [ratom]
[:div
[modal]
[:button
{:on-click #(doto (js/$ ".ui.basic.modal")
(.modal #js {:detachable false})
(.modal "show"))}
"Show Modal"]
])
I was looking at the second answer here: http://stackoverflow.com/questions/29063995/reactjs-wrap-semantic-ui-modal-using-portal-patternif you inclide the class: active
in your modal, it won't get slid out from under you and you can control it via regent.
@gadfly361: It worked as you said, thanks a lot Best regards,
Does anyone have experience of react-router
?
If so, @stepugnetti is looking for help. He has created a nice repo showing the problem:
https://github.com/stepugnetti/react-router-issue
original ticket, containing further description is here:
https://github.com/reagent-project/reagent/issues/227