Comments (7)
Can you provide and html snippet or code sandbox reproducer so we can see the issue?
from coloris.
Can you provide and html snippet or code sandbox reproducer so we can see the issue?
<body>
<div class="container">
<div class="colorContainer">
<div>
<input type="text" class="clr" value="rgb(255, 0, 0)">
<p id="valueRGB"></p>
<button id="parser">Parse</button>
</div>
</div>
.colorContainer {
display: flex;
overflow: scroll;
width: 80vw;
height: 80vh;
}
.clr {
opacity: 0;
}
and removed top, left, position of #clr-picker element.
I think the problem refers to moveMarker function.
from coloris.
Update: I want color picker to be always visible.
Unfortunately, this color picker is not designed to be always visible, and It will take a lot of hacky tricks to make that happen. If you absolutely need a color picker that's always visible, I don't think this tool is right for you.
If you explain clearly what you are trying to achieve, we might be able to help.
from coloris.
Update: I want color picker to be always visible.
Unfortunately, this color picker is not designed to be always visible, and It will take a lot of hacky tricks to make that happen. If you absolutely need a color picker that's always visible, I don't think this tool is right for you.
If you explain clearly what you are trying to achieve, we might be able to help.
I couldn't find another tool and this one is very beautiful.
My project has a color picker as the main part and some other input components, if I use a hidden color picker my UI looks very empty. So I need a always visible color picker.
This is okay but only problem is that when I remove it's left & top style rules, the picker gets corrupted and need to move mouse outside of color picker to change the color.
from coloris.
Here is a modified version that doesn't hide the picker coloris-static.zip.
from coloris.
For me, having a static color picker would be a great feature. From my side a +1 on that.
To elaborate a bit, in case of static I don't want an input field to be visible. It can either be a hidden input, or simply having to listen for color picks. Also, I'd like the picker to be displayed inline in that case. The inline part makes this a new issue I guess. I'll create one for it.
from coloris.
Since you opened another issue for this topic, I will close this one.
from coloris.
Related Issues (20)
- Reading option with attributes HOT 1
- How to programmatically change the thumbnail color?
- 能增加一个onClose事件监听吗? HOT 1
- Firefox accessing colorAreaDims before initialization HOT 18
- NaN values when inline color picker HOT 7
- Open method HOT 3
- clr-open-label not initialized on osX HOT 4
- Add 'Cancel' button (or any custom button) HOT 5
- Materializecss compatibility HOT 2
- Popup Input Issue HOT 3
- Mouse does not lineup on palette after scrolling in scrollable container HOT 3
- Include SCSS file with variables HOT 10
- Add support for CSS custom properties (variables) HOT 1
- Colorpicker wraps all input fields on page load HOT 5
- I would like to contribute sass/scss to the repository HOT 4
- ARIA: issue with Inline `#clr-color-marker` HOT 6
- Incorrect output value of alpha channel in 8-digit Hex Code HOT 8
- The color picker doesn't stick to the input it scrolls along HOT 2
- Option to not style the input element HOT 8
- Make `el` and `parent` options accept `Node` HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coloris.