Fork me on GitHub
#portal
<
2022-02-02
>
genekim17:02:55

Hello, all! I’m trying to use portal inside a cljs repl, and stumbled into an error that I ran into the first time I tried a couple of months ago and got stuck. In a cljs repl, I get this error:

(require '[portal.web :as p])
=> nil
(def po (p/open))

Execution error (TypeError) at (<cljs repl>:1).
Cannot set properties of null (setting 'onunload')
=> :repl/exception!
Any advice on how to fix? Thx!!

djblue17:02:58

You might need to enable popups for the portal ui to work in the browser.

djblue17:02:01

BTW this version of portal will not work with any installed extensions unfortunately 😢