Select items with keys of a WSuggestionPopup using WBootstrap5Theme partially working
There is an excellent example featuring WSuggestionPopup in
It is possible to choose a suggestion using the keys: up, down and enter.
However, if I replace this line:
auto bootstrapTheme = std::make_shared<Wt::WBootstrap5Theme>(); setTheme(bootstrapTheme);
The focus on the suggested items does not change as I press up and down.
However, the WSuggestionPopup keeps track of the keys up and down because once I press enter, the selected item is correct.
I would appreciate your help in solving this problem.