Open alomardev opened 2 years ago
Current behavior: NbSortHeaderComponent fires sort event twice. The event is fired by two different click event listeners.
NbSortHeaderComponent
sort
Expected behavior: NbSortHeaderComponent shall listen to click event only once.
Steps to reproduce:
nbSort
nbTreeGrid
(sort)
Related code: Issue illustrated in this repo.
Environment
Browsers: Firefox, Edge --- Angular CLI: 13.3.4 Node: 16.13.1 npm: 8.8.0 OS: win32 x64 --- Angular: 13.3.5 @nebular/theme: 9.0.2
Workaround:
::ng-deep button.nb-tree-grid-header-change-sort-button { pointer-events: none; }
(Bleh.)
Issue type
Issue description
Current behavior:
NbSortHeaderComponent
firessort
event twice. The event is fired by two different click event listeners.Expected behavior:
NbSortHeaderComponent
shall listen to click event only once.Steps to reproduce:
nbSort
directive on annbTreeGrid
component(sort)
event on the elementRelated code: Issue illustrated in this repo.
Other information:
Environment