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
Bug: Color picker sometimes goes off top of screen #57
Comments
I'm not sure what you mean by making the color picker scroll. |
I was thinking the following changes could do this:
An issue with the above suggestion is that For example, <body>
<input type='text' class='coloris-input'/>
<div style='height: 1000px;'></div>
</body> Setting |
I don't think scrolling is a good idea. It's not a great user experience, but also it's not as easy to implement as it may seem. You can then switch between that new theme and default theme whenever the orientation changes. |
I will add that horizontal theme in a little while |
I just pushed a new release with a new theme called "pill" that does what I described above. |
I just pushed 0.16.0 to NPM with this fix as well. Nice work @mdbassit |
Summary
The color picker goes off the top of the screen when there isn't enough space for it below the input.
For example, with the configuration
I get,
and
Expected Behavior
The color picker should go below the input.
The text was updated successfully, but these errors were encountered: