javalent / initiative-tracker

TTRPG Initiative Tracker for Obsidian.md
GNU General Public License v3.0
144 stars 30 forks source link

Drag reorder finicky on iPad #289

Open ringmaster opened 1 month ago

ringmaster commented 1 month ago

Check for existing bug reports before submitting.

Expected Behavior

When I scroll the initiative list, it should not reorder the initiative. It should be possible to easily scroll with a large hit area, and I shouldn’t have to think about where on the list will specifically scroll vs reordering while in the heat of battle. I do not reorder initiative via dragging ever, and certainly would not do so after combat has started.

Current behaviour

When I begin a drag on a name in the list expecting the list to scroll, it instead rearranges the combat list, causing delays in combat at the table while I attempt to restore the original order.

I did not test this with other plugins disabled, because I do not expect the functionality as designed to be different. Rather, the UX of the plugin as written could be improved.

Reproduction

With the plugin installed and activated on a touchscreen (iPad/iphone), begin dragging the list of initiative order by starting the drag on any name in the list. Note the small hit area that will scroll versus what will reorder the list items.

Which Operating Systems are you using?

Obsidian Version Check

1.6.7 (149)

Plugin Version

13.0.12

Confirmation

Possible solutions