Mortgage demand from both current homeowners and potential buyers rose sharply, even though interest rates climbed as well.