How to set an element of a SelectionList or any widget as highlighted both logicaly and visually #5107
Unanswered
montaropdf
asked this question in
Q&A
Replies: 2 comments 2 replies
-
When the SelectionList {
& > .option-list--option-highlighted {
background: $accent;
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
ok, I will test asap, I am a bit busy at the moment. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a screen containing a
SelectionList
and 2Button
widgets. Those buttons allows to move up or down the currently highlighted element of theSelectionList
. However, once clicking on one of the button, no element is highlighted in theSelectionList
.I have tried to give back the focus to the
SelectionList
with the.focus()
method at the end of the method triggered when pressing a button, but, it does not highlight any element of the widget.I use a SelectionList instead of a ListView, because the cited widgets, above, are part of a more complex screen and a SelectionList makes more sense for the purpose of the app. However, the same problem would arise with any "highlightable" widget, I suppose.
Beta Was this translation helpful? Give feedback.
All reactions