Skip to content
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

Support changing the cursor and allowing interaction with some regions of the page when in "eyedropper mode" #382

Open
BoCupp-Microsoft opened this issue Aug 14, 2020 · 1 comment
Assignees
Labels
EyeDropper Issues relating to the EyeDropper API

Comments

@BoCupp-Microsoft
Copy link
Contributor

In Photoshop, a user can select the eyedropper tool from a tool palette and then repeatedly click to set the current foreground or background color. When the user wants to change tools, they can hover back over the tool palette and the eyedropper cursor will change back into a regular pointer arrow and any clicks on a tool palette button will register as clicking the button instead of sampling a color.

The EyeDropper API proposal should support excluding some portions of the web page from color sampling to enable experiences like the one described above. A CSS property like eyedropper: exclude | auto; is probably sufficient.

If we add support for excluding regions of a web page, we should also be explicit about when it applies. One interesting example: when a document that isn't part of the EyeDropper's relevant document has a portion of its content excluded from "eyedropper mode" should that directive be honored?

@BoCupp-Microsoft BoCupp-Microsoft added the EyeDropper Issues relating to the EyeDropper API label Aug 14, 2020
@BoCupp-Microsoft BoCupp-Microsoft self-assigned this Aug 14, 2020
@BoCupp-Microsoft
Copy link
Contributor Author

BoCupp-Microsoft commented Aug 14, 2020

Mentioning some interested parties: @ipopescu93 @inexorabletash @melanierichards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EyeDropper Issues relating to the EyeDropper API
Projects
None yet
Development

No branches or pull requests

1 participant