The autoFocusOnClick property (boolean) defines whether selecting a date that belongs to a partially visible month switches the Navigator to that month automatically.
DayPilot.Navigator.autoFocusOnClicktrueJavaScript
const dp = new DayPilot.Navigator("dp", {
autoFocusOnClick: false,
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
autoFocusOnClick: false,
// ...
};React
<DayPilotNavigator
autoFocusOnClick={false}
{/* ... */}
/>Vue
<DayPilotNavigator
:autoFocusOnClick="false"
<!-- ... -->
/>