lauren / pick-a-color

an easy-to-use jQuery color picker for Twitter Bootstrap
http://lauren.github.com/pick-a-color/
MIT License
269 stars 89 forks source link

Force the color popup to display under the input element #45

Closed JohnBot2014 closed 10 years ago

JohnBot2014 commented 10 years ago

Hi Lauren Is it possible to get the color picker to keep within the horizontal bounds of the input element? When using it on a form with the input elements down the right hand side of the screen, the popup displays to the right and thus disappears off screen (or rather you have to scroll right to see it). I notice that in "mobile mode" it pops up under the input element which would be just perfect if you were able to force this always. Many thanks for the control, it's a beautiful piece of work. Best wishes John

lauren commented 10 years ago

@JohnBot2014 Let me know if this works for you! Set option inlineDropdown: true.

JohnBot2014 commented 10 years ago

Lauren, that's perfect. Thank you very much especially for such a rapid response. Best wishes John

conradoqg commented 10 years ago

Is not positioned correctly on firefox.