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 close nb-datepicker pop-up by click-outside while nb-datepicker resides inside a nb-tabset #1290

Closed
1 of 2 tasks
Kolpak86 opened this issue Mar 11, 2019 · 2 comments

Comments

@Kolpak86
Copy link

Kolpak86 commented Mar 11, 2019

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:
Unable to close nb-datepicker pop-up by click-outside while nb-datepicker resides inside a nb-tabset. nb-datepicker that reside in the first tab that I outside is clicked/touched do work. nb-datepicker pop-up in all the other tabs no not closing when outside is clicked/touched. The nb-datepicker in the first tab that was clicked still work. This behaviour can be observed with any tab, as long as it is the first tab you click on after the app starts

Expected behavior:
That you can always close nb-datepicker pop-up in any tab by click-outside.

Steps to reproduce:
See current behaviour.

<nb-card size="medium" >
  <nb-card-header>
    Отчеты
  </nb-card-header>
  <nb-card-body>
    <nb-tabset (changeTab)="changeTab($event)" routeParam="tab">
      <nb-tab route="replaceable-reports" tabTitle="Replaceable reports">
        <replaceable-reports [cashBoxes]="cashBoxes"></replaceable-reports>
      </nb-tab>
      <nb-tab route="check-history" tabTitle="Check history">
        <check-history [cashBoxes]="cashBoxes"></check-history>
      </nb-tab>
    </nb-tabset>
  </nb-card-body>
</nb-card>

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

@Kolpak86 Kolpak86 changed the title nb-datepicker pop-up not closing when outside is clicked/touched while it resides inside a nb-tabset Unable to close nb-datepicker pop-up by click-outside while nb-datepicker resides inside a nb-tabset Mar 11, 2019
@Kolpak86
Copy link
Author

ezgif com-video-to-gif

@nnixaa
Copy link
Collaborator

nnixaa commented Apr 1, 2019

Fixed in #1316

@nnixaa nnixaa closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants