itsjavi/bootstrap-colorpicker

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

开放

#321 创建于 2020年11月9日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (356 个派生)batch import
bughelp wanted

仓库指标

星标
 (1,364 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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/

贡献者指南