hyperapp icon indicating copy to clipboard operation
hyperapp copied to clipboard

onclick firing on wrong elements

Open cdeutmeyer opened this issue 9 years ago • 3 comments

I'm working on a personal project built with Hyperapp and running into issues where click events are firing on elements other than the one I click on. I'm not sure I could re-create the problem in a codepen but it's pretty easy reproduce in the project. Basically if you click around and select rando stuff in the tree then type some junk in the search a couple times. Then click around rando (not just at the top) in the tree it happens. I can see the action is being fired multiple times from different tree node elements, and the tree selected item starts getting confused.

Codemapping is turned on and the important files are codeNavigatorTree.js and model.js. If it's super lame to ask to peek at my code, I apologize and can maybe put together a codepen to try and illustrate the problem.

I'm a big fan of HyperApp and love what you guys are doing. Thanks!

cdeutmeyer avatar Mar 15 '17 01:03 cdeutmeyer

Possible duplicate of #160.

FlorianWendelborn avatar Mar 15 '17 01:03 FlorianWendelborn

@cdeutmeyer Yep, sorry! I've fixed this issue, but I was still reviewing #141, so hoping I could release everything with 0.8.0.

#141 is taking longer than I thought, however, and it's still not quite mergeable at this point, so I'll probably have to reschedule. 🤔

jorgebucaran avatar Mar 15 '17 01:03 jorgebucaran

Duplicate of #160

cdeutmeyer avatar Mar 15 '17 21:03 cdeutmeyer