pickr icon indicating copy to clipboard operation
pickr copied to clipboard

input not working in bootstrap 5 modal

Open Shinsekai7 opened this issue 3 years ago • 5 comments

I am using the plugin with the bootstrap 5 modal and when I click inside the input is not working, instead, the modal's X button is selected. Here is an example of the issue https://codepen.io/s3739/pen/popxvJd

Shinsekai7 avatar Nov 03 '22 18:11 Shinsekai7

I experience the same issue...

av01d avatar May 31 '23 09:05 av01d

This happens because the color picker input is outside of the modal. Probably related to this issue: https://github.com/twbs/bootstrap/issues/38515

AgentSmith0 avatar Nov 10 '23 16:11 AgentSmith0

We are experiencing same issue. Seems to be caused by focus trapping mechanism of bootstrap modal. Has anyone found a workaround?

sanjogs avatar Mar 13 '24 20:03 sanjogs

Workaround to disable focustrap on modal can be found here: https://github.com/twbs/bootstrap/issues/38515

AgentSmith0 avatar May 16 '24 17:05 AgentSmith0