foundryvtt-lancer icon indicating copy to clipboard operation
foundryvtt-lancer copied to clipboard

[BUG] Sheet Updates Consume Click Events

Open Miaradz opened this issue 4 years ago • 7 comments

Window for NPC class creation opens undersized, and you have to double click to commit values to the template. This is somewhat counterintuitive. Also, the up/down values have wierd hitboxes and need to be almost pixel perfect to click.

image

Windows 10, Electron applet, no mods that affect sheet/chat logs.

Miaradz avatar Jul 20 '20 15:07 Miaradz

Window for NPC class creation opens undersized, and you have to double click to commit values to the template. This is somewhat counterintuitive. Also, the up/down values have wierd hitboxes and need to be almost pixel perfect to click.

I can't reproduce the double click issue. The hitbox issues for the up and down arrow is a general issue with any of our small input fields.

stbz avatar Jul 23 '20 17:07 stbz

Hm, it seems the first click is good.

Please find the following YT link for the behaviour. https://youtu.be/-cZ2F53UNxw

Miaradz avatar Jul 23 '20 18:07 Miaradz

Thank you! I checked and the issue is with the "array type" input boxes for the npc item sheets, same behaviour in features. Normal boxes in the NPC Features can be clicked and inputted with a single click. So this should be something confined to the array data types or the html/js that handles them in the sheet

stbz avatar Jul 23 '20 19:07 stbz

This appears to be an issue with sheet updates stopping propagation of events, causing the perception of missed clicks.

Eranziel avatar Sep 19 '20 22:09 Eranziel

Is this resolved with the new number inputs, or does the event propagation have other implications? I can't think of any personally.

Grygon avatar Nov 05 '20 17:11 Grygon

The new inputs solve most of it, but there are some remaining issues. If you type in an input, then click another input to type in, the sheet update forces you to click again before you can type.

Eranziel avatar Nov 05 '20 19:11 Eranziel

I can't seem to replicate this anymore. Is this fixed?

BoltsJ avatar Oct 04 '21 00:10 BoltsJ