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

Unable to toggle between year and month selection when clicking on title #10

Open
JLNNN opened this issue Aug 24, 2020 · 2 comments
Open

Comments

@JLNNN
Copy link

JLNNN commented Aug 24, 2020

Describe the bug
If I click on the title bar of the overlay, I get the javascript error:
Cannot read property 'nativeElement' of undefined

To Reproduce
Steps to reproduce the behavior:

  1. installed npm packages as required
  2. setup everything as described in docs
  3. Click on datepicker input field
  4. Click on title
  5. See error

Screenshot
nativeElement-of-undefined

Expected behavior
The overlay toggles between the year and months selection.

Versions (please complete the following information):

  • OS: macOS Mojave
  • Browser: Chrome 84.0.4147.135
  • Package Version [e.g. 1.2.3]: 8.0.6 (tried ^8.0.0)
  • Angular Version [e.g. 7.x]: 10

Additional context
I tried this on your examples (https://aavanzyl.github.io/ngx-tiny/project/date-picker, Angular Forms - Single Date) and there it happens sometimes, too.

@aavanzyl
Copy link
Owner

@JLNNN I have updated to angular 10.. I think this was causing the issue a bit, have not yet been able to reproduce this, so still trying to solve this.

@JLNNN
Copy link
Author

JLNNN commented Sep 14, 2020

The same problem exists with v10.0.1.

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

2 participants