I have the same issue!
As I may see this is happening when `!pragma useVerticalIf on`
The code is:
@startuml
!pragma useVerticalIf on
start
if (condition A) then (yes)
:Text 1;
stop
elseif (condition B) then (yes)
:Text 2;
else (nothing)
:Text else;
endif
stop
@enduml
So the workaround is to use horizontal. But this is a bug.