backbone-shortcuts icon indicating copy to clipboard operation
backbone-shortcuts copied to clipboard

Keyboard shortcut events stay bound when navigating to different view.

Open wuliwong opened this issue 12 years ago • 7 comments

When you change views, within the same Backbone Router, the events stay bound to the keyboard shortcut. I'm listing this as a 'bug' because I find this library relatively unusable without the ability to assign events on a view-by-view basis.

wuliwong avatar Feb 13 '13 21:02 wuliwong

+1 I experience the same issue, @bry4n are there any plans on fixing it?

marcuslindblom avatar Jul 10 '13 21:07 marcuslindblom

Yep, having some undelegate method would be great. +1.

lumrandir avatar Jul 29 '13 06:07 lumrandir

@lumrandir check out this fork https://github.com/orloffv/backbone-shortcuts/blob/master/backbone.shortcuts.js

marcuslindblom avatar Jul 29 '13 10:07 marcuslindblom

@marcuslindblom thanks for your reply though I have already solved the original problem.

lumrandir avatar Jul 29 '13 10:07 lumrandir

@lumrandir :+1:

marcuslindblom avatar Jul 29 '13 10:07 marcuslindblom

@marcuslindblom you should make a PR

nrako avatar Aug 20 '13 06:08 nrako