Web browsers do not expose the active keyboard, so the package falls back to the browser locale and to text-based direction detection — that fallback is what you see here. Type Hebrew or Arabic into the fields and the direction flips as you type.