ember-power-calendar icon indicating copy to clipboard operation
ember-power-calendar copied to clipboard

Next and Previous button navigates from current date.

Open selva-v opened this issue 7 years ago • 5 comments

Hi,

I have a date picker with preselected value (ex:05/08/1988). When I click the left arrow(Previous button) to change the date to 30/01/1982, the calendar shows the previous month from current month(June 2017). similar for 'Next' arrow as well.

Is this known behaviour or issue with my implementation? any help much appreciated.

thanks in advance.

selva-v avatar Jul 17 '17 12:07 selva-v

Can you provide a reproduction, perhaps with ember-twiddle?

cibernox avatar Jul 17 '17 12:07 cibernox

https://ember-twiddle.com/73a24d08da148f6308f27f779408cf84?openFiles=templates.application.hbs%2C

selva-v avatar Jul 18 '17 03:07 selva-v

Same issue here

ibarrick avatar Aug 29 '17 20:08 ibarrick

@selva-v Your center2-property is undefined. If center of power-calendar is undefined, the calendar is centered at current-date.

wuarmin avatar Oct 27 '17 10:10 wuarmin

@selva-v on your example, the center of the calendar is the current month. Also, you need to add <div id="ember-basic-dropdown-wormhole"></div> somewhere in your html.

cibernox avatar Nov 10 '17 10:11 cibernox