Scratch-gui: Slider monitors look significantly different in different browsers

Created on 26 Jul 2018  路  6Comments  路  Source: LLK/scratch-gui

Expected Behavior

Slider monitors should probably look consistent for consistent experience

Actual Behavior

Slider monitors look very different in different browsers on Windows, and are also fairly different in size.
image

Here it is on Mac Chrome, Firefox, and Safari, probably more what it's "supposed" to look like
screen shot 2018-08-03 at 10 00 31

Steps to Reproduce

Make a slider monitor in Chrome/Edge/Firefox on Windows

Operating System and Browser

Windows

bug help wanted

Most helpful comment

That's why you make your own slider, instead of relying on any built-in one :)

All 6 comments

That's why you make your own slider, instead of relying on any built-in one :)

Also found one that styles the range input: https://codepen.io/chriscoyier/pen/FtnAa

And created my own that uses scrollbars: https://kyleplo.github.io/c/demos/scrollslider

@paulkaplan @carljbowman any preference on what library to use?

We should have a good spec for how the slider should look in every browser, especially with the help wanted label on this issue.

I think we also may prefer rendering to SVG so it will be easier to move the sliders into scratch-render if we decide to do that later down the line.

Considerations for a good library to use:

  • well maintained

    • not a ton of unaddressed GitHub issues

    • recent pull requests

    • a good number of other people using it

    • updates haven't wildly changed the API for it, causing maintenance annoyance

  • configurable to our needs, both in terms of behavior and styling. But not overly-configurable because it should also be...
  • small in file size
  • performant

I know you want to use a library, but I forked this pen and made this one, which looks more like Scratch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kyleplo picture kyleplo  路  3Comments

TaiAurori picture TaiAurori  路  3Comments

rschamp picture rschamp  路  3Comments

davidaylaian picture davidaylaian  路  4Comments

apple502j picture apple502j  路  4Comments