Keyboard open in sidebar with input in headerbar

Hey guys,

i have a sidebar with a headerbar and ion-content.
In the headerbar is a search inputfield.

The ion-side-menu-content has a headerbar with a “toggleLeft” button on the left side.
If i click that button, the sidebar is shown, but the keyboard opens automatically.

How can i avoid this behave?

Greets, bengtler

workaround for me:
I have put the form field in a sub-header.