We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

Dropdown fails in SFOs browser.

asked 2017-01-19 05:25:04 +0300

DarkTuring gravatar image

updated 2017-01-20 18:26:16 +0300

DaveRo gravatar image

When trying to select dropdown on site:

https://help.pandora.com/customer/portal/emails/new

Topic, Which Device are you Using Fields

its a basic html element called select <select option="" select="" to="">select There are other websites where the basic select does not work in SFOS browser. It doesnt do anything. Works fine in firefox. Aquafish 5" screen, SFOS 2.0.5.6, make believe Jolla C; Anybody else having trouble with the dropdown menues? </select>

edit retag flag offensive close delete

Comments

you mean combos ? yes nor working on that site. elsewhere.it is

pawel ( 2017-01-19 07:36:06 +0300 )edit

Works fine in Webcat.

leszek ( 2017-01-20 16:01:53 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2017-01-20 18:25:42 +0300

DaveRo gravatar image

updated 2017-01-20 19:14:01 +0300

The select elements on the pandora site have event listeners on them and I wondered whether this stopped it working. So I created a test webpage; I copied one of a selects from the pandora site, and duplicated it. On the second I added an event listener, which alerts with the selection value.

Source: https://gist.github.com/revad/7c22150b83c42681509422e06d4c3fc1#file-jolla_select_test_1-html

I tested it as a local file on my Jolla C 2.0.5.6; opened it in file manager. The first selector works and the second doesn't - it issues the alert without allowing you to select anything. So it looks like the event is firing too soon.

I made an error. I added a 'click' event whereas the pandora site uses a 'change event'. With a 'change' event it does allow selection - but doesn't alert. Which is interesting but doesn't explain the problem :(
Sorry.

@DarkTuring I suggest you raise an issue here, referencing this qn:
https://github.com/sailfishos/sailfish-browser/issues

edit flag offensive delete publish link more

Comments

@DaveRo thanks for digging into this a little bit. Ill raise it with the browser dev team. Maybe it has to do with the recent engine updating not sure.

DarkTuring ( 2017-01-20 19:54:47 +0300 )edit
1

answered 2017-02-20 18:35:32 +0300

DarkTuring gravatar image

Issue is now resolved in the new SFOS native browser with update 2.1.0.9 the drop down boxes in Pandora now properly open the right size option menue on the screen for select of option.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2017-01-19 05:25:04 +0300

Seen: 493 times

Last updated: Feb 20 '17