Merge branch 'main' into picker
This commit is contained in:
commit
a3bd04fed2
13 changed files with 187 additions and 49 deletions
|
@ -422,9 +422,10 @@ pub trait ElementInteractivity<V: 'static>: 'static {
|
|||
None
|
||||
}),
|
||||
));
|
||||
let result = stateful.stateless.initialize(cx, f);
|
||||
stateful.key_listeners.pop();
|
||||
result
|
||||
|
||||
cx.with_key_dispatch_context(stateful.dispatch_context.clone(), |cx| {
|
||||
cx.with_key_listeners(mem::take(&mut stateful.key_listeners), f)
|
||||
})
|
||||
})
|
||||
} else {
|
||||
let stateless = self.as_stateless_mut();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue