Skip to content

Confused on the purpose of TabIndexs List #3319

Answered by BDisp
dasien asked this question in Q&A
Discussion options

You must be logged in to vote

I found the bug and I'll submit a PR with a fix. But for your example work you must set the tabindex after all views are added to the superview and not by setting only after add one at a time. So after all the views are added then set the tabindex for them. In the v2 the bug also exist and I'll submit a PR for him too. Remember that the order index isn't continuous because all the tabindexes that have a value of -1 are ignored. So, it may have 1, 3, 5, etc... If you want only a ordered of all tabindexes you filter them, like TabIndexes.Select(t => t > -1).

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tig
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@BDisp
Comment options

Answer selected by dasien
@BDisp
Comment options

@BDisp
Comment options

@dasien
Comment options

@BDisp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants