Dragging on the page does not take effect when opening OSR when creating JCEF browser
Answered
val jbCefBrowser = JBCefBrowser.createBuilder()
.setEnableOpenDevToolsMenuItem(openDevtools)
.setOffScreenRendering(true)
.build()
What else do I need to implement after enabling OSR
Please sign in to leave a comment.
Hi,
I'm sorry but I don't understand your question. Please describe the problem in detail.
Sorry, maybe I didn't explain it clearly. I developed an IDEA plugin that uses JCEF and sets Offscreen Rendering. After loading the page, dragging and dropping it on the page failed; But when Off screen Rendering is turned off, it can actually be dragged. What else do I need to do when setting up Offscreen Rendering to not affect the drag and drop function of the webpage?
Hi,
It is still unclear what you are trying to do. I've got an information that drag'n'drop between different windows is not supported in OSR out-of-the-box and an additional effort might be needed. Suggestions:
CefBrowser_N#drag*
methods. If this API is not enough, please create an issue on youtrack.jetbrains.com (project: JetBrains Runtime, Subsystem: jcef) and describe your use case in detail.