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

dragLabel cursor styling leaks to neighbours #237

Open
Errors4l opened this issue Oct 3, 2019 · 0 comments
Open

dragLabel cursor styling leaks to neighbours #237

Errors4l opened this issue Oct 3, 2019 · 0 comments

Comments

@Errors4l
Copy link

Errors4l commented Oct 3, 2019

On the demo page, you can see that the "Hex" label in the Sketch color picker has the style cursor: ew-resize;. In the source code, this editable does not set [dragLabel] to true. It seems to come from the neighbouring inputs that do have dragLabel set to true.

Relevant code:
https://github.com/scttcper/ngx-color/blob/master/src/lib/components/sketch/sketch-fields.component.ts#L16-L61

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

No branches or pull requests

1 participant