maitrungduc1410 / primeng-shadowdom-directives

Directives that make PrimeNG plays nicely with ShadowDOM
https://maitrungduc1410.github.io/primeng-shadowdom-directives/
MIT License
9 stars 3 forks source link

Dropdown directive - event.path is not supported by firefox #1

Closed SandraMarquardt closed 2 years ago

SandraMarquardt commented 2 years ago

Thank you for your helpful package!!

I just wanted to point out that there is a console error when you use psdDropdown in firefox. image

This is linked to firefox inability to support event.path. As a work around, we've implemented a custom psdDropdown directive that uses event.composedPath.

image

Unless there's a good reason for you to use event.path, it might be helpful to update your package accordingly.

Thanks!

maitrungduc1410 commented 2 years ago

sorry for late reply, I forgot to check your issue

I'll fix this soon

thanks for your feedback

maitrungduc1410 commented 2 years ago

Hi @SandraMarquardt , this issue is fixed, please upgrade to version 0.0.5