Open karim-mamdouh opened 5 months ago
Thanks for reporting issue, I'll check this and get back to you soon
Actually I found a way to fix it, I added the button as target for the toggle functions & then it worked perfectly
It's weird that you have to specify the target.
In this case the target can be ignored because for second parameter it'll default to event.target which is equal to #target here.
Can you check the demo app of this lib, in there I have examples for all cases
But yes, can go with your way first. I'll do some test this weekend.
Btw, can you check package-lock and provide exact version for all related dependencies? Then I'll just use the same
I checked, it's working really fine with same dependencies as you, maybe you should try create a fresh new screen/component and add the overlay to test, try to not apply any class/style during testing:
Hello,
Please find the video below for issue
https://github.com/maitrungduc1410/primeng-shadowdom-directives/assets/79006178/619e06c5-5bc9-4b1f-8026-dab8e95e5617
Versions:
"@angular/animations": "~16.1.0", "@angular/common": "~16.1.0", "@angular/compiler": "~16.1.0", "@angular/core": "~16.1.0", "primeng": "^16.0.2", "primeng-shadowdom-directives": "^1.0.1",