Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Cancelling mdPickers from inside an Angular-material modal closes the modal and not the picker #72

Closed
DomClaxton opened this issue Mar 23, 2016 · 3 comments

Comments

@DomClaxton
Copy link

If I use mdPickers inside an angular-material modal and trigger the date picker to open, then close the picker it will close the modal underneath first. I must click 'Cancel' a second time in order to close the picker.
This is not very usable if I'm entering a lot of dates inside the modal because each time I need to cancel a date-picker it will close the underlying modal which I will then have to open again.
I suggest it is a scope issue because mdPickers is essentially a modal which is being called inside of a modal.

@alenaksu
Copy link
Owner

Hi, take a look at this codepen and tell me if it helps
http://codepen.io/alenaksu/pen/NNRQrE

There was an issue for that #38

@alenaksu
Copy link
Owner

@DomClaxton any news about the issue?

@alenaksu
Copy link
Owner

I close the issue. Feel free to reopen if you need support

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

No branches or pull requests

2 participants