scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.47k stars 3.57k forks source link

Slider monitors look significantly different in different browsers #2735

Open fsih opened 6 years ago

fsih commented 6 years ago

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

Kenny2github commented 6 years ago

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

kyleplo commented 6 years ago

After searching the web, I found a few good react sliders:

kyleplo commented 6 years ago

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

fsih commented 6 years ago

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

rschamp commented 6 years ago

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:

kyleplo commented 6 years ago

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