@@ -798,7 +798,7 @@ impl<T: Item + Send + 'static> Component for DynamicPicker<T> {
798798 cx.jobs.callback(async move {
799799 let new_options = new_options.await?;
800800 let callback =
801− crate::job::Callback::EditorCompositor(Box::new(move |_editor, compositor| {
801+ crate::job::Callback::EditorCompositor(Box::new(move |editor, compositor| {
802802 // Wrapping of pickers in overlay is done outside the picker code,
803803 // so this is fragile and will break if wrapped in some other widget.
804804 let picker = match compositor.find_id::<Overlay<DynamicPicker<T>>>(Self::ID) {
@@ -808,6 +808,7 @@ impl<T: Item + Send + 'static> Component for DynamicPicker<T> {
808808 picker.options = new_options;
809809 picker.cursor = 0;
810810 picker.force_score();
811+ editor.reset_idle_timer();
811812 }));
812813 anyhow::Ok(callback)
813814 });