Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

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

Open
ignacioribes opened this issue Nov 9, 2020 · 1 comment
Open

Comments

@ignacioribes
Copy link

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/

@itsjavi itsjavi changed the title Container selector not work Container selector won't work if colorpicker target is an input Apr 23, 2021
@itsjavi
Copy link
Owner

itsjavi commented Apr 23, 2021

I can confirm that it doesn't work if the target is an input: https://jsfiddle.net/f1x359k2/

Your fiddle example was not working at all, btw.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants