itsjavi/bootstrap-colorpicker

Container selector won't work if colorpicker target is an input

Open

#321 opened on Nov 9, 2020

 (1 comment) (0 reactions) (0 assignees)JavaScript (356 forks)batch import
bughelp wanted

Repository metrics

Stars
 (1,364 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I tried to user to use container selector setting but not work, the color picker still appears on the end of the body.

Context

  • bootstrap-colorpicker version: 3.2.0
  • bootstrap version: 4.3.1
  • jQuery version: 3.4.1
  • Browser name and version: Chrome Version 86.0.4240.183 (Official Build) (x86_64)
  • Operative System name an version: MacOS 10.15.7

Expected behavior

The color picker should be appear inside the container

Actual behavior

Color picker still appears on the end of the body

Live Example

https://jsfiddle.net/jmh124po/

Contributor guide