ufal / perl-pmltq-web

Simple web build on the top of the PML Tree Query server
https://lindat.mff.cuni.cz/services/pmltq/
0 stars 0 forks source link

Jumping to a different result does not work #131

Closed Ansa211 closed 6 years ago

Ansa211 commented 6 years ago

This is about the editable number field in editable_number_field

What does NOT work: change the number -> press enter -> the displayed sentence changes What works: change the number to 1 less or 1 more than the number of the sentence I want to jump to -> press the corresponding arrow -> the displayed sentence changes

matyaskopp commented 6 years ago

How it works? change number and leave the focus of field. @Ansa211 : You want to make it works after pressing enter?

If you are on 1st sentence, than change it to 2 and then press "Following sentence..", than it jumps to minimum of 3 and number of sentences. (you leave the focus and then press next)

Ansa211 commented 6 years ago

Yes, my intuitive expectation was that I have to press enter (or there could be a "Go" button or something like that).

Leaving focus is an unintuitive concept for me. Even after your explanation, I find it strange that nothing happens when I change the number in the field, but the sentence is redrawn when I click somewhere else.

matyaskopp commented 6 years ago

a7b304ab00e5a186cebf0374634e23e12b4b4553