[Gambas-user] WebTextBox border is shown even after the control is no more visible
T Lee Davidson
t.lee.davidson at gmail.com
Thu Sep 28 22:47:22 CEST 2023
On 9/28/23 16:36, T Lee Davidson wrote:
> On 9/28/23 10:01, Safiur Rahman wrote:
>> Hi Lee
>>
>> I am using Google Chrome Version 117.0.5938.92 (Official Build) (64-bit) Ubuntu 22.04. I also checked in Windows 11 and the
>> problem is the same.
>> The border of WebTextBox is visible when the control is no longer visible. Can you pinpoint CSS parameter which can make that
>> border transparent when the control moves?
>
> No.
>
> But, I just now noticed that if the control has focus (ie. it was clicked or tabbed to), it gets highlighted as the active
> element. That highlighting is what says in place. I happens with WebTextBox1, WebTextArea1, and even with WebTextBox2 when
> scrolling up.
This may be the CSS that generates the highlight:
#gw-focus {
display: none;
position: absolute;
/*border: solid 2px rgba(0,127,255,0.5);*/
box-shadow: 0 0 0.25rem rgba(0,127,255,1) inset;
pointer-events: none;
}
And, perhaps it is the "position: absolute;" that causes it to stick in place.
--
Lee
More information about the User
mailing list