cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Focus hijacked - possibly by patch code?

I am having trouble with a gallery for the input of data.  It has three text input controls (txtCount1-3).  I want the focus to move from txtCount1 to txtCount2 (and 2-3) when data is entered.  There is some code running onChange that patches a collection.

 

When entering data I can see that the focus moves from txtCount1 to txtCount2, but then almost instantaneously moves back to txtCount1.  What is going on?

1 ACCEPTED SOLUTION

Accepted Solutions
Responsive Resident
Responsive Resident

how does that focus move from txtCount1 to txtCount2? By pressing TAB on the keyboard?

If yes, patching OnChange into the same collection as gallery's data source collection will reset tabbing order.

Patching to a different collection will not reset that tabbing.

View solution in original post

1 REPLY 1
Responsive Resident
Responsive Resident

how does that focus move from txtCount1 to txtCount2? By pressing TAB on the keyboard?

If yes, patching OnChange into the same collection as gallery's data source collection will reset tabbing order.

Patching to a different collection will not reset that tabbing.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,269)