Slackbot
04/06/2023, 12:16 PMChristopher Rucinski
04/06/2023, 12:19 PMXBB.1.5
and you will see when typing the period, the focus is lost. https://observablehq.com/@ciscorucinski/playground-sars-cov-2-phylogenetic-treeAdam Roberts
04/06/2023, 12:44 PMsearchterms
table. The searchterms
table source changes when you enter in the search box, and since the source changes, the entire cell re-renders, including the search box.Adam Roberts
04/06/2023, 12:45 PMChristopher Rucinski
04/06/2023, 1:12 PMInputs.search
into a its own cell (which is what I was doing before), is there anyway to keep everything together in one cell? My end goal is to have Inputs.table
span the whole height of these controls and be on the sideMichael Cooper
04/06/2023, 2:12 PMMichael Cooper
04/06/2023, 2:13 PMChristopher Rucinski
04/06/2023, 3:39 PMFabian Iwand
04/06/2023, 8:06 PMChristopher Rucinski
04/07/2023, 11:53 AMChristopher Rucinski
04/07/2023, 12:22 PMundefined
output, I tried to return the control and this caused the loss of focus issue again. Returning anything not related to search
seems to work fine, though.
{
display("searchbox", viewof search, invalidation);
return search;
}
Same loss of focus with everything in one cell. I was curious if this would work, so I tried it.
{
display("searchbox", viewof search, invalidation);
display("search-presets", viewof choice, invalidation);
display("chart-modifier", viewof modifier, invalidation);
display("search-table", viewof searchterm, invalidation);
}
Do you have any insight into why this might cause similar loss of focus issues? I guess I can kind of wrap my head around why returning a control might cause issues, but this usage I can't think anything. It seems to display everything right. Maybe this is just bad API usage and just not intended to be used like this.Fabian Iwand
04/07/2023, 12:39 PMFabian Iwand
04/07/2023, 12:40 PM