Hi Rafael,
One of the solutions for your use case is to stop the click event propagation on input click inside the popover widget using JS.
1) Add a custom style class to the input

2) In the screen OnReady event action flow, register an event to the popover widget using the below-mentioned Javascript.
JS Snippet:
var popoverEle = document.getElementById($parameters.CommentPopoverId);
if(popoverEle) {
popoverEle.addEventListener('click', function (e) {
if(e.target.classList.contains('popover-input')) {
e.stopPropagation();
}
});
}
Demo screen: CodeInputPopoverTask
Refer to the attached oml.
I hope this helps you!
Kind regards,
Benjith Sam