longbill/jquery-date-range-picker

Unable to select month and/or day in inline picker

irsi opened this issue · 1 comments

irsi commented

Hello,

if I initialize picker with this options:

{
	inline: true,
	container: $('#calendar'),
	alwaysOpen: true,
	format: 'L',
	hoveringTooltip: false,
	monthSelect: true,
	yearSelect: true
}

— I can't select month and/or day in selects above calendar (which displays because monthSelect: true, yearSelect: true). After selecting different month or day — nothing happens.

I found out experimentally that if I remove the parameter container — selects work as expected, but without this parameter I can't position picker in right place.

irsi commented

I apologize, I found my mistake. This happens when initialized on the same element that is a container.