Disabling inventory while dragging an item forces you to drop it
Marked this issue as a "feature" since I believe vanilla behaves the same way, but it's really annoying and unnecessary that it happens.
If you're dragging an item when the inventory is disabled, you continue to drag the item but can't place it into your inventory window since it's hidden. You can't exit the inventory either until you stop dragging. So the only thing you can do with the item is drop it onto the ground, and for certain items can make it near-impossible to find again.
I've seen this happen mostly with mods that alter Hircine's Ring. Such mods make the ring inhibit werewolf transformations while worn, and re-allows them when it's unequipped. Consequently, if you unequip the ring when you're normally supposed to be transformed, it will cause the transformation to happen right away, which disables your inventory. Since unquipping an item makes you drag it around, you're left dragging the ring without an inventory window, and there's nothing you can do with it but drop it (made worse by the fact that you can't pick items up as a werewolf, and have to remember to come back later to try and find it again).
I think the best way to fix this is to essentially cancel any dragging when the inventory is disabled, so it remains in your inventory. Alternatively, or in addition, you could also allow the inventory to be closed while an item is being dragged, which implicitly cancels the drag and leaves the item in your inventory.
(RM-3099 from redmine: created on 2015-12-21 by Chris Robinson, , closed on 2017-09-28 by scrawl ., relates #1692 (closed))