1

I'm in front of a problem i can't solve by myself. I'm using a jquery colorpicker (spectrum) in a bootstrap modal box, but, when i do so, the input in the colorPicker can't be focused on when i click on it. The mouse cursor appears, but nothing happens, so i can't change the input value.

When it is not in a modal box, it works perfectly.

Here's a url to test the problem : http://www.fgtechs.fr/widget-app/

Why can't i select the input when it's in the modal box, and how can i solve it ?

Thank's for all ;)

4

1 回答 1

0

通过添加以下脚本(.coffee),它将解决问题。

$(document).on 'focusin', '.sp-container', (e) ->
  e.stopImmediatePropagation()
于 2016-07-10T14:34:32.563 回答