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/

貢獻者指南