Coder Social home page Coder Social logo

Comments (2)

PitPik avatar PitPik commented on September 6, 2024

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.

Daijobou avatar Daijobou commented on September 6, 2024

I agree. Maybe, you can add this feature for jquer-ui users?: http://jqueryui.com/position/ ;)

from tinycolorpicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.