Element focus in a Responsive Layout

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Element focus in a Responsive Layout

Post by pjshuey »

I have a screen with a responsive layout that is not placing focus how I am expecting it to. The first div of the responsive layout has a drop down field that I set "no focus" to true, and a grid. I am expecting the focus to go to the first input capable field in the grid. Instead I have to hit the tab once for the focus to go there. I determined that the focus is on div#pui. How do I get the focus to go to the first input capable grid field? I have attached the json for the screen. Note that I am currently only working with the first @media screen. I know the other ones are not set up correctly. Thanks!
Attachments
oe54fts.json
(51.78 KiB) Downloaded 95 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Element focus in a Responsive Layout

Post by Scott Klement »

"no focus" is a screen-level property that means that Profound UI should not put focus in any input widget. This is usually used on mobile screens so that the keyboard won't pop-up until the user taps on a textbox.

We do not offer a "no focus" property on dropdowns.

I would recommend removing the "no focus" property (right-click, choose "remove property value") because you do want focus to be placed on something in this case. Then, use the "set focus" property, or the grid options like "subfile record number" together with "place cursor" to control where the focus is placed.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: Element focus in a Responsive Layout

Post by pjshuey »

Sorry! i meant the 'set focus' property on the drop-down...i had that set to false. Regardless, the focus is still being placed on the div#pui element and not the first entry field in the grid. I am using the grid options "subfile record number" and "place cursor".
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests