I'm implementing a Geckoview instance inside an android App. Everything looks to work properly and the Geckoview is able to load a URL. My problem is that if a site has a dropdown (select tag, Combobox) when I click in the arrow the options don't appear.
I've tried using different versions and channels of the repositories (nightly, release, beta), and I'm still having the same problem.
I've tried in different devices and versions of android.
When I use browser that use Geckoview (Reference Browser, Firefox Preview) the "dropdowns" work perfectly, so i asume that is a configuration problem in the my implementation of the Geckoview.
GeckoView geckoview;
GeckoSession session;
GeckoRuntime runtime;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
geckoview = findViewById(R.id.geckoviewer);
session = new GeckoSession();
session.getSettings().setAllowJavascript(true);
session.getSettings().setDisplayMode(GeckoSessionSettings.DISPLAY_MODE_FULLSCREEN);
session.getSettings().setUserAgentMode(GeckoSessionSettings.USER_AGENT_MODE_MOBILE);
GeckoRuntimeSettings.Builder builder = new GeckoRuntimeSettings.Builder()
.javaScriptEnabled(true)
.consoleOutput(true);
runtime = GeckoRuntime.create(this, builder.build());
session.open(runtime);