Packstack-Tech / packstack

Packstack's web app user interface
https://app.packstack.io
Apache License 2.0
86 stars 26 forks source link

bug: Unexpected behaviour with "drag and drop" pack feature #58

Open Callisto13 opened 3 years ago

Callisto13 commented 3 years ago

When using the (totally awesome) new drag-and-drop feature to rearrange some items in my pack, I have noticed that things often rearrange themselves when you are moving something else.

Probably easier to show than tell, so here is a video of me trying to reorganise things in my Shelter category. When I move my tent, the categories below change order:

https://user-images.githubusercontent.com/8898786/110112921-41fdda80-7daa-11eb-892c-d4d78fdc27ae.mov

(I have also noticed that if you re-order an item, then do something else, eg add a new item, without saving, then the move is lost.)

cc @darinalleman

darinalleman commented 3 years ago

👀 Yeah, that's pretty weird. Good catch! I think I know what's going on with the changes not being saved. I'm fairly certain that after adding a new item to your inventory from the edit pack screen it does a pack refresh and it shouldn't.

I'll try to look into both of these things as soon as I can.

Thanks for finding these!