Dashboard Dropdown with custom CSS

I only recently updated the dashboard to 3.4.0 so that I could use the new "Class" attribute in the widget. I was disappointed to find that almost everything I tried to add to "MyDropdown" was overridden. Made the new Class attribute almost superfluous.

Can you give some more detail about this, and a flow to illustrate it?

Of course the className code was added in to existing dashboard widgets so it may not work well with all widget types.

I posted an example of changing widget style using className at https://discourse.nodered.org/t/dynamic-css-changes-in-dashboard-v3beta/50866 but it does not include a dropdown.