Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhyolight/b3728a2f54bd5c5c6f46e4711df2f0c3 to your computer and use it in GitHub Desktop.
Save rhyolight/b3728a2f54bd5c5c6f46e4711df2f0c3 to your computer and use it in GitHub Desktop.
description of my react onclick trigger problem

I have 4 Diagrams, which are React components. Two of them have properly working onClick triggers:

The other two have onClick functions which seem to be attached in the same way, to the same DOM structure, but do not trigger consistently:

To replicate, npm run dev and open http://localhost:3000/spatial-pooling, then press the "Pause" button. Then try clicking on the minicolumn displays on the left of each diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment