Gelbooru

Notice: We are now selling NEW ! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #983


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000983Bug ReportingHighalways08/26/19 03:37PMlozertuser
ReporterTehSuckerer
Assigned to:lozertuser
Resolution:Resolved
View StatusPublic
Version:0.2.5
Target Version:0.2.5
Summary:Arrow keys while editing a note can load a new image
Description:When you have these arrows on top of an image because you opened the image from a tag search, the arrow keys on your keyboard can navigate through the pictures that have the tag. (In other words if you press left, you will load the image before the current image from the tag search). This also happens while you're editing a note. Sometimes I see a typo and want to move my text cursor there via the arrow keys. What then happens is that I load a different image instead and my note is lost.
I tested this in Chrome and Firefox and it behaves the same. This behaviour only happens with notes, not comments, and only with the tag arrows, not the pool arrows, since they don't work that way.
Additional Info:
lozertuser replied at 2019-08-26 18:12:30
That is an odd one. It generates a textarea, but I wonder if it has to do with the fact that the note area being generated is written using javascript, causing the weird behavior?

lozertuser replied at 2019-08-26 18:17:15
That seems to be the issue, I've implemented a temporary workaround that will disable your hotkeys until you focus on a non dynamically generated text input field and then click back off it.

lozertuser replied at 2019-08-26 19:09:33
Should be fixed now, please bump this ticket if it breaks something else.