Giter VIP home page Giter VIP logo

Comments (13)

mdbassit avatar mdbassit commented on May 26, 2024 1

Please share a demo page so I can see the problem and help you fix it.

from coloris.

mdbassit avatar mdbassit commented on May 26, 2024 1

Depending on how you want to use the color picker, you can try and render it inside the modal dialog. Add this code to the bottom of your page:

Coloris({
  parent: '#myModal'
})

from coloris.

mdbassit avatar mdbassit commented on May 26, 2024 1

Check out the file examples.html, there are code snippets you can use.

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

https://codepen.io/aditya8578/pen/poagbOq

from coloris.

mdbassit avatar mdbassit commented on May 26, 2024

You just need to increase the value of the z-index of the color picker dialog. Add this code to your CSS:

.clr-picker.clr-open {
  z-index: 10000;
}

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

But the manual color input field not working.

from coloris.

mdbassit avatar mdbassit commented on May 26, 2024

I don't understand what you mean!

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

coloris

Please Look At this Image.

from coloris.

mdbassit avatar mdbassit commented on May 26, 2024

That's an issue with bootstrap, not with the color picker. It seems the bootstrap modal forces focus inside it whenever it loses focus, which means that the input field inside the color picker (which is outside the modal) can not be focused and thus can not be edited.

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

Do you have any solution to it?

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

Thanks you Very much, It works.

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

One more thing Sir
How to design input field just like in your demo page (Rounded square thumbnail).

from coloris.

Aks8578 avatar Aks8578 commented on May 26, 2024

Thanks Sir

from coloris.

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.