material-ui-color icon indicating copy to clipboard operation
material-ui-color copied to clipboard

Add href attribute to <ColorPicker> button.

Open mP1 opened this issue 2 years ago • 0 comments

It would be nice to support adding a href. My app is a react app but all links, buttons and many other components have links.

In my case a hash like /cell/A1/style/color/edit will give focus to the color picker and open it for editing. Many (im trying most) actions in the application also update the history.

When the user navigates using the keyboard and hits enter on the color-picker button i would like to have a href present so the history is updated with my supplied HREF.

mP1 avatar Sep 24 '22 09:09 mP1