Add tabindex attribute to inline widget so that it will keep the focus when one of its children node is losing focus.