Combobox; making a selection at runtime on a mobile browser (Android) will switch focus to another control.

0
0

Hi,

When using a flowpanel with multiple controls in it the combobox will cause undesired behavior on phones. When you make a selection from the dropdownlist if there are any controls behind the selection in the dropdownlist that control will receive focus. This causes undesired scrolling issues and showing/hiding the keyboard.

I’ve attached my test project. Steps to reproduce

  1. Publish to IIS make it accesible on a mobile phone
  2. Navigate on a smartphone to the site
  3. login with CDS Administrator and password 12345 which is just a fixed login test
  4. press the factory icon on the left and then on the plus icon “Nieuwe aanvraag”
  5. Try and make a selection on the combobox “Unit” and notice the combobox will lose focus and set it to whatever control was behind the dropdownlist.

I can only test this on android phones (I’ve tested on the google Pixel 4).

 

Thanks in advance!

Vincent

  • vincent_
    After messing about with chrome’s developer tools it turns out you can reproduce the behaviour in chrome on desktop too. Simply run the project, open dev tools and switch to Pixel 2 for example.
  • You must to post comments
0
0

Hi Vincent,

We’ve investigated the issue and a fix is under its way on the next release,

I have a suggestion that is not related to this issue, you can change Me.FlowLayoutPanel1.ScrollBars = Wisej.Web.ScrollBars.Vertical to Me.FlowLayoutPanel1.ScrollBars = Wisej.Web.ScrollBars.Hidden. When hidden you can still scroll with the touch but the scrollbar is not visible.

Best regards,
Alaa

  • vincent_
    Thanks Alaa for looking into this. Also thank you for suggesting hidding the scrollbars, this is indeed way better!
  • You must to post comments
0
0

Hi Vincent,

Can you please tell us which Wisej version you’re using?

Thank you,
Alaa

  • vincent_
    The latest build. If you need the specific version I’ll add it later.
  • vincent_
    Version 2.2.45.0 For a few days you can also try my problem live on any mobile phone using http://webtest.customdigitalsolutions.nl login = CDS Administrator Pass = 12345 after login just press the business icon (2nd icon) and then the plus icon. This will show the “form”. Then press “Plant” combobox and select “Overig”. Notice how the field “Equipment” is now selected.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.