import { AboutSlint, Button, VerticalBox, ListView } from "std-widgets.slint";
component Test {
in property <int> value;
Rectangle {
border-color: black;
border-width: focus.has-focus ? 2px : 0px;
Text {
text: value;
}
focus := FocusScope { }
}
}
export component Demo {
property <[int]> model: [
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
];
ListView {
for i in model: Test {
value: i;
}
}
}
Make the view smaller so that everything doesn't fit. Then tabbing works to focus the various elements, until it is should focus an item outside of the visible range. Then instead of focusing the invisible item it focuses outside of the listview, or loops back.
Reproduce:
Make the view smaller so that everything doesn't fit. Then tabbing works to focus the various elements, until it is should focus an item outside of the visible range. Then instead of focusing the invisible item it focuses outside of the listview, or loops back.