-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to make Move event fire Change event for Flat mode #173
Comments
ccing @marcandre and @artificeren since we have been talking about similar things here. So, this used to be available (as I know this issue is opened wrt to flat pickers only, but I'd like to get a picture of the usage from everyone here (feel free to answer whatever you think is relevant):
|
Are you using flat or normal picker? If normal, then what does clickoutFiresChange not do for you? Do you want the change event to fire so you can handle both moves and changes with the same function, or are you more concerned about the input's value updating? What is your desired behavior if a user clicks 'cancel' after moving around a bunch (and the input being updated)? |
Perhaps continuous update should just be the default whenever the cancel/choose buttons are hidden? Is that a problem somehow? |
Are you using flat or normal picker? Normal picker ** If normal, then what does clickoutFiresChange not do for you? ** I think it's not directly related to the issue. We currently need to fire the ** Do you want the change event to fire so you can handle both moves and changes with the same function, or are you more concerned about the input's value updating? ** I'd say both. Changes to our input are monitored to update other elements on the page. While we could use ** What is your desired behavior if a user clicks 'cancel' after moving around a bunch (and the input being updated)? ** Ideally for us, it would have the same effects of clicking on the original colour (in the palette or spectrum) and clicking Ok, i.e. fire a Basically, ideally would be that any change to the colour swatch -> HTH |
When using the color picker in flat mode I usually want to have the value change as the user moves the selected color around.
In my example I hide the buttons and display the color picker in flat mode. When displayed this way the user expects changes to occur as they modify the color.
Can you add an option to update the input's value on move?
In the mean time I have implemented this by adding the updateOriginalInput method to the spect object. I then call the updateOriginalInput method whenever the move event is triggered.
The text was updated successfully, but these errors were encountered: