Describe the bug
I intend to add onClick event in NavigationView, which uses SplitViewCommand as it children elements. So it will be like this as the examples:
the "onClick" props set as "rest attributes" ans applied to 2nd level div, I'm not sure what this used, but it not work for the answer the click event.
So I tried move the "rest attributes" of the root div, it's working:
Describe the bug I intend to add onClick event in NavigationView, which uses SplitViewCommand as it children elements. So it will be like this as the examples:
But it not working, so i trace the code here in SplitViewCommand:
the "onClick" props set as "rest attributes" ans applied to 2nd level div, I'm not sure what this used, but it not work for the answer the click event. So I tried move the "rest attributes" of the root div, it's working:
Expected behavior onClick event working for NavigationView
Desktop (please complete the following information):
Additional context I also see the onMouseEnter and onMouseLeave props are also not used here?
Thanks.