If "move as combat/use" is enabled, attempting to move into an enemy on the same tile as an open door will result in waiting a turn instead of attacking. This almost killed me a couple of times. I haven't seen this happen in any other situation yet.
A small clarification: it only happens on the edges of the doorway, i.e. when the enemy is occupying the tile on which you'd be able to interact with the door via clicking to close it if it were empty. If the enemy is in the central tile, you can hit it normally. Which means I suspect the issue is that the code is seeing me attempt to interact with an occupied tile with a door in it and is trying to close the door rather than hit the enemy, even though that's obviously impossible.