Hi Juan Jiminez,
We deeply regret for the delayed response.
We have checked your reported issue and we would inform you that when you are trying to edit the input element in the colorpicker the focus is set to be a modal element due to setting the tabIndex property to the modal element. So that you are facing this kind of issue. We suggest you remove the tab index to prevent the focus on this element. In this way, you can achieve your requirement. Please refer the below sample link.
Sample link:
If possible, could you please share us why you are set the tabindex property for modal element.
Please get back to us if you need further assistance.
Regards,
Arunkumar D