Skip to content

onDropDownClose not working #212

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

Open
Ananthu-vk opened this issue Feb 25, 2020 · 4 comments
Open

onDropDownClose not working #212

Ananthu-vk opened this issue Feb 25, 2020 · 4 comments

Comments

@Ananthu-vk
Copy link

Angular version: 8

ng-multiselect-dropdown version: "^0.2.3"

Description of issue: onDropDownClose not working

Steps to reproduce: Trigger a function using onDropDownClose method it is not working as expected

Expected result: Get an event for knowing whether the drop down is closed.

Actual result: Event is undefined

@sprinter-kharkiv
Copy link

Another issue with "onDropdownClose" - this method fires with every click on the page. I have created an example https://stackblitz.com/edit/angular-yjgqcs

@haleaurelian
Copy link

haleaurelian commented Mar 9, 2020

The onDropDownClose event is triggered for every click, anywhere on the page!!!!

@rooby
Copy link
Contributor

rooby commented Jun 24, 2020

There is already an issue for the event getting fired too often: #127
There is a PR in to fix that.

I don't understand the first part of your issue though. You say the expected result is "Get an event for knowing whether the drop down is closed." but that already exists, and you can even see it working in the stackblitz you linked.

Are you expecting a parameter of some sort to be passed into the onDropDownClose() event?
If so, what would you want sent through when the event fires?

@rsonone42
Copy link

It seems this issue is still not fixed.

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

5 participants