react-shortcuts
react-shortcuts copied to clipboard
Doc request, confused on receiving child events that have called stopPropagation
I have a <Shortcuts isolate /> handler, and in a child component I have a form that handles a keyDown event and calls e.stopPropagation(). I didn't expect <Shortcuts /> to receive the events but it does.
Also, reading docs, the isolate prop is weirdly named. Perhaps I'm using it wrong but it wasn't receiving any events unless I did isolate, now it receives these ones that are being prevented!
Finally, what is gourmet?

@natew Can you please share a gist of the problem so I can better understand it?
isolate is basically a hack around React event system. I agree the name is confusing, do you have a better idea?
Finally, what is gourmet?
The correct question is "who is gourmet". I suppose those are people who love 🌮 tacos or something.