JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
888 stars 104 forks source link

Allow rendered output to be interactive. Don't block click handlers. #221

Closed mrcslws closed 7 years ago

mrcslws commented 8 years ago

This is how I made the canvases respond to clicks in my talk: https://youtu.be/tPjNWEj_vHc?list=PL3yXMgtrZmDpDhDZvixTUubv9R9cpZK4T

Without this change the onclick handlers on the <canvas /> don't get called.

JonyEpsilon commented 8 years ago

Thanks Marcus, I'll look to merging this in the next release (whenever I get time to sit down and do that!) :-)

benfb commented 7 years ago

Hey, sorry for the very lengthy delay! If you're still interested in this, could you change this in resources/gorilla-repl-client/js/renderer.js instead and make sure it still works?