Fix: Resolved CSS cursor and webview's cursor states conflict
Description
Cursor within Plugin Window was flickering and conflicting with CSS styles for some elements (such as links, text elements which we can select)
I solved the cursor flicking issue by implementing a custom display handler for the JCEF browser. Specifically, I added a CefDisplayHandler that overrides the onCursorChange method. This method updates the cursor of the browser's UI component to the appropriate predefined cursor type whenever the cursor changes within the web content. This ensures a smooth and consistent cursor experience for users, eliminating any flickering.
Fix: Resolved CSS cursor and webview's cursor states conflict
Description
CefDisplayHandler
that overrides theonCursorChange
method. This method updates the cursor of the browser's UI component to the appropriate predefined cursor type whenever the cursor changes within the web content. This ensures a smooth and consistent cursor experience for users, eliminating any flickering.Type of change
How to Test
Start up a Plugin and try to change a cursor state.
Checklist