Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next and Previous button navigates from current date. #100

Open
selva-v opened this issue Jul 17, 2017 · 5 comments
Open

Next and Previous button navigates from current date. #100

selva-v opened this issue Jul 17, 2017 · 5 comments

Comments

@selva-v
Copy link

selva-v commented Jul 17, 2017

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.

@cibernox
Copy link
Owner

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

@ibarrick
Copy link

Same issue here

@wuarmin
Copy link
Contributor

wuarmin commented Oct 27, 2017

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

@cibernox
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants