EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: roberto on July 28, 2020, 04:04:56 PM



Title: checkbox and radiobutton on focus problem
Post by: roberto on July 28, 2020, 04:04:56 PM
there is something wrong when a check box or radio button receives focus.
in a very simple way:

<div id = "A"> <input class = "easyui-textbox"> </div>
<div id = "B"> <input class = "easyui-checkbutton" data-options = "label: ok"> </div>

Suppose div A is not visible (scrolled to the left). If I click on 'Ok', then DIV A will scroll to display, but the focus remains on the checkbox on DIV B


Title: Re: checkbox and radiobutton on focus problem
Post by: jarry on July 30, 2020, 11:56:15 PM
Please override these css styles to solve this issue.
Code:
<style type="text/css">
.checkbox-value{
left: -100px;
}
.radiobutton-value{
left: -100px;
}
</style>


Title: Re: checkbox and radiobutton on focus problem
Post by: roberto on July 31, 2020, 08:25:36 PM
 ;D worked, tks