javalent/initiative-tracker

Drag reorder finicky on iPad

ringmaster opened this issue · 0 comments

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

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?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.6.7 (149)

Plugin Version

13.0.12

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solutions

  • Provide an option to disable drag reorder of list items (possibly only after the round is activated).
  • Provide an explicit drag handle for each item.
  • Disable drag reorder only for touch screen platforms