processing / processing/p5.js

Display issue for sliders created with createSlider

Open
#7,161 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area:IO Bug
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

Most appropriate sub-area of p5.js?
  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)
p5.js version

V10.0

Web browser and version

Safari 17.5.1

Operating system

iOS 17.5.1

Steps to reproduce this
Steps:
  1. Create a slider named "slider" using createSlider
  2. Try sliding it back and forth with a finger - it displays correctly
  3. Now try changing slider.value() to various values (within the min and max values)
  4. The blue line along the slider does not maintain its integrity, and quickly becomes mottled with white sections
  5. The first photo shows the slider displayed correctly with a solid blue line to the left of the handle
  6. The other two photos show the mottled appearance of the blue stripe when the slider is moved by slider.value(x)

IMG_8155
IMG_8154
IMG_8153

Snippet:

// Paste your code here :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the createSlider and slider.value(x) steps in Safari 17.5.1 on iOS 17.5.1, then trace the slider rendering path. Done means programmatic value changes preserve a solid blue line between the minimum and handle, matching direct finger interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.