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

dropdown throws "event is not defined" error in PrimeNG v8.0.2 on Firefox #8003

Closed
thaihacong opened this issue Jul 30, 2019 · 3 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@thaihacong
Copy link

thaihacong commented Jul 30, 2019

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

[ x ] bug report => Search github for a similar issue or PR before submitting

Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-tlabav?file=package.json
or,
https://www.primefaces.org/primeng/#/dropdown

Current behavior
Click on the dropdown, then click outside.
Firefox throws error ReferenceError: event is not defined in console
The error does not happen on Chrome.

Expected behavior
There should be no console errors on all browsers.

  • Angular version: 8.1.3

  • PrimeNG version: 8.0.2
    The error does not happen on PrimeNG v8.0.1.
    It could be because of this commit 2944fce

dropdown-event-not-defined-2

dropdown-event-not-defined-1

  • Browser: Firefox 40.0.3 on MacOS, Firefox 60.6.1esr (64-bit) on CentOS Linux release 7.6.1810
@benoitbb
Copy link

Same problem here

@yigitfindikli
Copy link
Contributor

Hi @thaihacong ,
I couldn't replicate it with Firefox 67.0.4. What is your Firefox version?

@thaihacong
Copy link
Author

@yigitfindikli Thank you for your fast response.
I could also not reproduce it on

  • Firefox 68.0.1 (64-Bit) on Windows 10
  • Firefox 68.0.1 (64-Bit) on MacOS

But the error happens on

  • Firefox 40.0.3 on MacOS
  • Firefox 60.6.1esr (64-bit) on CentOS Linux release 7.6.1810

@yigitfindikli yigitfindikli self-assigned this Aug 5, 2019
@yigitfindikli yigitfindikli added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 5, 2019
@yigitfindikli yigitfindikli added this to the 8.0.3 milestone Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants