ud-annotatrix icon indicating copy to clipboard operation
ud-annotatrix copied to clipboard

Firefox find-as-you-type blocks keyboard shortcuts

Open nschneid opened this issue 2 years ago • 3 comments

E.g. R to set the root, which appears to be handled at:

https://github.com/jonorthwash/ud-annotatrix/blob/415327b7f0392b78bb5056619bede37cad89c2a5/client/gui/keyboard.js#L315-L318

Is there a missing event.preventDefault()?

Is there alternative way to set the root?

nschneid avatar Mar 09 '22 17:03 nschneid

(A hacky workaround: app.graph.setRoot($(".activated")); in the console)

nschneid avatar Mar 09 '22 17:03 nschneid

@nschneid does event.preventDefault() work there as a fix? If so I can add it, or you could make a PR.

ftyers avatar Mar 09 '22 22:03 ftyers

I see it is being called in some places in that file. I don't know what the correct logic should be.

nschneid avatar Mar 09 '22 22:03 nschneid