Skip to content

Conversation

@pdanpdan
Copy link
Contributor

  • fix ring on selected color in palette on mobiles
  • do not add decimals for oklch and hsl if the value is an integer after truncation
  • always update hue in oklch (even if chroma is 0)
    • when the color is updated from sliders the hue is not changed when changing chroma
    • when a color is picked from palette the hue slider should reflect selection
    • when text value of the color is changed the hue slider should reflect selection
  • make dialog also hide on android when range input is dragged
    • on android the range input loses :active when dragged
    • it needs attaching events for touch and mouse because pointercancel is called on move (even if setPointerCapture is used - probably because svelte re-renders/modifies the control)

- when the color is updated from sliders the hue is not changed when changing chroma
- when a color is picked from palette the hue slider should reflect selection
- when text value of the color is changed the hue slider should reflect selection
- on android the range input loses :active when dragged
- it needs attaching events for touch and mouse because pointercancel is called on move (even if setPointerCapture is used - probably because svelte re-renders/modifies the control)
@saadeghi saadeghi self-assigned this Nov 30, 2025
@saadeghi saadeghi merged commit 03589b4 into saadeghi:master Dec 10, 2025
@saadeghi
Copy link
Owner

Thank you @pdanpdan

@pdanpdan pdanpdan deleted the docs/color-picker branch December 10, 2025 08:18
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

Successfully merging this pull request may close these issues.

2 participants