I do not see any message in the devtools console. But it is possible I am 
not using it correctly.
In the attached images you can see what's in Chrome. 
The depicted screen is the BrowserComponent. It does not resemble what I 
have on my layout, that is, a BC with text inside as usual. When inserting 
the image, regardless it is the case that it appears or not in the BC, a 
blue rectangle appears in the above mentioned screen, then if I click again 
on the BC the rectangle becomes gray, then next time it disappears.
Notice that when the image is correctly inserted in the DOM it is 
highlighted in blue first, then it becomes normal.

Il giorno martedì 11 agosto 2020 03:59:26 UTC+2, Shai Almog ha scritto:
>
> Odd. It might be a refresh problem. I'm assuming there's nothing obvious 
> in the JavaScript console. Right?
>
> On Monday, August 10, 2020 at 9:28:07 PM UTC+3 P5music wrote:
>
>> I think this could be an issue for the CEF BrowserComponent so I report 
>> it.
>> My app has this BrowserComponent for text editing. There is some 
>> functionality that encompasses creating an image in text, at certain offset.
>> I can easily do that but the BC behaviour changes accordingly to the 
>> offset or sometimes in erratic fashion.
>> Here's what happens. When the offset is 0 or the last position the image 
>> does not appear just after inserting in the DOM as expected, instead I have 
>> to enter the editing field again to see it (and the size of the BC changes 
>> at this time, not before, so it is updated at this time and not before). 
>> This happens every time for those offset positions, but sometimes it 
>> happens in intermediate positions.
>> No matter whether I call focus() or other methods on the element (in 
>> Javascript), or other workarounds, the behaviour is solid, like it is an 
>> issue.
>> Thanks in advance
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/fa3a1533-c890-4a8e-ba25-260d5ce714b6o%40googlegroups.com.

Reply via email to