Comments (2)
I tried to keep colorPicker as small as possible and as open as possible. My intention was to keep the color picker inside the view port and it dynamically moves with the resize of the view port or the scrolling. Positioning like you said is another approach, also very good or even better, but I decided for the other one. To cover too many possibilities would blow up the size of the app.
Color picker is very open in it's possibilities that you can program this yourself: In your renderCallback
you have access to toggled
which delivers true
for 'just opened', false
for 'just closed' or something else if none of the two. As this
gives you the instance with some information and $elm
with the current input field, you can calculate the position of your color picker yourself (You might to turn off animation though and make your own or just drop it...)
from tinycolorpicker.
I agree. Maybe, you can add this feature for jquer-ui users?: http://jqueryui.com/position/ ;)
from tinycolorpicker.
Related Issues (20)
- Color picker does not popup in latest jQuery (3.1.0) HOT 4
- Clicking outside picker doesnt close it when called from floated element HOT 4
- Close color picker HOT 8
- Can't change default opacity HOT 2
- Suggestion: Setting z-index when opening colorPicker HOT 1
- Setting the colour programmatically from outside the picker HOT 4
- Getting a tinycolorpickers input value
- Set initial color HOT 6
- Close with escape button HOT 4
- Easy way to keep open at all times?
- Rango 0-255 for alpha values HOT 4
- Support rrggbbaa? HOT 3
- Value with auto-correct? HOT 2
- configure the alpha box to display a grid
- Input Event Listeners don't work
- update npm to lastet
- Add additional classnames?
- jQuery.fn.offset() requires a valid DOM element
- When I click on a different color input while the picker is already open, it sometimes transfers the value. HOT 1
- emptying input value
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 tinycolorpicker.