This one is due to a bug with the JSAPI directions widget and will be fixed in a future release.
Thank you for your quick answer!
Do you, by any chance, have any idea on when this release will go out?
Unfortunately I do not know the exact release date when it will be addressed. If you contact Esri support they can add you to the list of users experiencing this issue.