Open AlanCZ opened 1 year ago
Is there a solution to this problem?
I tried on MacOS. Don't see blinking. May you pls, provide more details in a bug according to the template. E.g. JBR version, OS, etc An example of CSS is appreciated.
I'm having the same issue and found that listening to onCursorChange fixes this flickering issue (Kotlin code):
val client = ...
client.addDisplayHandler(object: CefDisplayHandlerAdapter() {
override fun onCursorChange(browser: CefBrowser?, cursorType: Int): Boolean {
browser?.uiComponent?.cursor = java.awt.Cursor.getPredefinedCursor(cursorType);
return false
}
})
val browser = ...
When css sets cursor, the mouse pointer will blink