ud-annotatrix
ud-annotatrix copied to clipboard
Deleting deprels causes page change on Firefox.
Tested on Firefox 75, if I delete two deprels in a row, a page change will trigger to go back one page.
Does this happen only when deleting them using the tree editing interface, or does it happen if editing in the textbox and/or grid mode too?
Just in the tree editing interface.
I'm guessing that this is because you're using Backspace to delete the deprel? If you delete one this way, the #graph
widget will lose focus, and the entire window
will be listening for events. In Firefox, Backspace by can be bound to "go back a page".
The most sane workaround IMO would just be to explicitly focus the #graph
widget after deleting the deprel.
@JPJPJPOPOP can you check if bf3992b fixes this for you?
@keggsmurph21 I didn't, still getting the same bug.
How are you deleting the deprel?
@kmurphy4 Like now if I just load the page, type up a sentence, add a deprel, then delete it, it goes back to the new tab page.