Start swimming
Move into a scaffold block
Start climbing
Move out of scaffold block
Climb up thin air!
Update: it seems that it's a problem with my world, not my edition, where every entity is laggy. My swimming and climbing animations are delayed so that's why it still thinks it's climbing.
Cannot reproduce on 1.11.0.7 beta, is this still an issue for you?