You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the mousedown event is bind to ng-select-container's div, but if I want to make some style change, like add padding to ng-select's element, then when click on the padding space won't open the dropdown, but if handleMousedown is a HostListener then there will be no problem, it will work better than before.
Describe the solution you'd like
make handleMousedown a HostListener instead of listen to the inner div.
Describe alternatives you've considered
seems there is no alternative way when add padding to ng-select element.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I see in source here:
ng-select/src/ng-select/lib/ng-select.component.html
Line 2 in dea311f
the mousedown event is bind to
ng-select-container
's div, but if I want to make some style change, like add padding tong-select
's element, then when click on the padding space won't open the dropdown, but ifhandleMousedown
is aHostListener
then there will be no problem, it will work better than before.Describe the solution you'd like
make
handleMousedown
aHostListener
instead of listen to the inner div.Describe alternatives you've considered
seems there is no alternative way when add padding to
ng-select
element.The text was updated successfully, but these errors were encountered: