This seems to work fine for me?
EDIT - If I'm out of range, I do not move to target, however, if in-range, I can damage mobs by pressing 1.
Are you sure you didn't put your weapons in the Shift + 1 action bar (you probably haven't but just double checking)