Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-role="select" not getting focus on tab click #1488

Closed
ojosojo opened this issue Jan 20, 2020 · 6 comments
Closed

data-role="select" not getting focus on tab click #1488

ojosojo opened this issue Jan 20, 2020 · 6 comments

Comments

@ojosojo
Copy link

ojosojo commented Jan 20, 2020

Description:
Can't focus on a data-role="select" to select an option.

Steps:
I can't use codepen or jsfiddle as they won't render correctly so where is a basic example :


 <input type="text" data-role="input" data-prepend="Marca mcía.:" id="mercancia">     
<select data-role="select" data-prepend="País" id="pais">
          <option value="CAN">CANADA</option>
          <option value="MEX">MEXICO</option>
          <option value="USA">ESTATUS UNIDOS</option>
        </select>
 <input type="text" data-role="input" data-prepend="Origen:" id="origen">     


Expected behavior:
When focused on input mercancia then pressing the TAB key I would expect that select pais would obtain focus insted input origen gains the focus.

Desktop

  • OS: macOS Catalina
  • Browser : Chrome
  • Metro Version : 4.3.5

Additional context
Im creating a form filling app

@olton olton changed the title data-role="select" not getting focus data-role="select" not getting focus on tab click Jan 20, 2020
@olton olton added this to the v4.3.6 milestone Jan 21, 2020
@olton
Copy link
Owner

olton commented Jan 21, 2020

I added focus state, but now I need to add select control from the keyboard.

@ojosojo
Copy link
Author

ojosojo commented Jan 23, 2020

I added focus state, but now I need to add select control from the keyboard.

I appreciate your help. Thanks for considering my request.

@ojosojo
Copy link
Author

ojosojo commented Feb 28, 2020

Hi, any advance on this issue ?

@olton
Copy link
Owner

olton commented Feb 28, 2020

focus work in 4.3.6

@ojosojo
Copy link
Author

ojosojo commented Feb 28, 2020

Ok confirmed... awesome ! . Is it possible that : when focused the select it opens the list of options and use UP and DOWN keys to select an item ?

Thanks Mr. Sergey

@olton
Copy link
Owner

olton commented Feb 28, 2020

working on implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants