Description
Reproducible with hello_world.py, wxpython.py and cefclient examples running CEF Python v58.0 on Linux (Ubuntu 14.04). Also reported by user running Windows 7, but CEF version not provided, probably v57. It seems that it works fine on Mac.
Steps to reproduce:
- Run example to load Google.com
- Type "mozilla select element" and click first result
- Scroll down to the "Examples" section and click on the
<select>
element - Options appear outside the window in the top left corner of the screen
Also reproducible with latest CEF cef_binary_3.3071.1636.g2718da5_linux64_client (cefsimple).
Reported bug upstream: https://bitbucket.org/chromiumembedded/cef/issues/2195/html-element-wrongly-positioned-in
For now a temporary solution would be to replace elements with javascript equivalent, for example try google "jquery select replacement". You can inject custom js code that will do this task in LoadHandler.OnLoadStart (attach it to DOMDocumentLoaded event) or LoadHandler.OnLoadEnd (less reliable). Example of using client handlers is available in Tutorial.