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

Today button not working #300

Open
alexandretok opened this issue Feb 2, 2017 · 6 comments
Open

Today button not working #300

alexandretok opened this issue Feb 2, 2017 · 6 comments

Comments

@alexandretok
Copy link

The today button doesn't work when I have the option closeOnSelect: true.

The callback isn't fired and the calendar just closes. I can see that the today date is highlighted right before the calendar fades.

@postb99
Copy link

postb99 commented Mar 28, 2017

I've fixed it on my fork but not tagged for now. It fact it was a wrong feature :-)

OSAMES@46f5c6f

@postb99
Copy link

postb99 commented Mar 29, 2017

Fixed on my fork, version 1.4.0. bower package name is ionic-datepicker-fork-ionic1

My fork : https://github.com/OSAMES/ionic-datepicker

I wish I could do a pull request but since I changed package name etc I don't know how to handle this.

@shankari
Copy link

shankari commented Aug 6, 2019

It looks like commits 45631a4 and 0fb4e66 (currently on master) might have also fixed this? Trying now. These are the last two commits merged to master, so just syncing directly to 6dcbf0d which is the merge commit.

@shankari
Copy link

shankari commented Aug 6, 2019

Those commits will probably fix the issue, but the distfile has not been rebuilt to include them. I am rebuilding the distfile using gulp. @rajeshwarpatlolla if I submitted a PR with an updated dist file would you be open to merging it?

@shankari
Copy link

shankari commented Aug 6, 2019

@postb99 I tried your fork and it still doesn't work. See attached gif. I looked at your code https://github.com/OSAMES/ionic-datepicker/blob/master/src/ionic-datepicker.provider.js#L404 and it looks like the callback is not invoked like in 45631a4

Any thoughts on how your fork is supposed to work?

datepicker_today_not_working mov

@postb99
Copy link

postb99 commented Aug 6, 2019

I am not able to work anymore on this project/my fork, I will close my PR and think you can go on with improvement of official project @shankari

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

Successfully merging a pull request may close this issue.

3 participants