aavanzyl / ngx-tiny

Implementation of Light Weight Angular Components for Production Applications
https://aavanzyl.github.io/ngx-tiny
MIT License
7 stars 3 forks source link

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

Open JLNNN opened 4 years ago

JLNNN commented 4 years ago

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):

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 commented 4 years ago

@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 commented 4 years ago

The same problem exists with v10.0.1.