cursive icon indicating copy to clipboard operation
cursive copied to clipboard

CircularView doesn't work with StackViews

Open smallB007 opened this issue 5 years ago • 1 comments

Describe the bug UI setup as for a classing file manager, that is, two panels, left and right displaying directory content. If each of those panels is inside stack view and then each of those stackviews is added to circularfocus view, this does not work. By not work I mean, pressing tab does not got back and forth from left to right panel.

smallB007 avatar Mar 22 '21 11:03 smallB007

Hi!

It's hard to know exactly what is going on without some code to try, but CircularFocus::new recently changed: it used to take as parameters whether to wrap on tab and arrow keys, but now it defaults to now wrap anything at all, and you need to enable each desired wrapping style afterward, for example using .wrap_tab(true).

gyscos avatar Mar 22 '21 21:03 gyscos