You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My hardware is compatible and my graphics drivers are up-to-date.
What happened?
When the target of an Operation lies anywhere within a Responsive, the operation is silently ignored.
You can reproduce the issue by running this modified example. (after adding the responsive wrapper, the 'Scroll to top/bottom' buttons no longer function)
As with PaneGrid, Responsive is missing its operate method.
So I thought perhaps I could fix it in the same way, but was sadly unable to get it working after a bit of poking/prodding.
This is as far as I got writing an operate implementation for Responsive:
fnoperate(&self,tree:&mutTree,layout:Layout<'_>,operation:&mutdynOperation<Message>){let state = tree.state.downcast_mut::<State>();self.content.borrow().element.as_widget().operate(&mut state.tree.borrow_mut(),
layout,
operation,)}
This seemed to have no effect.
I do see that other methods in Responsive do a bit of a dance when working with its contents (mainly resolve).
That could be the missing piece, but I can't call it here because operate does not have a Renderer.
What is the expected behavior?
Operations should work within Responsive Elements
Version
master
Operative System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When the target of an Operation lies anywhere within a
Responsive
, the operation is silently ignored.You can reproduce the issue by running this modified example.
(after adding the responsive wrapper, the 'Scroll to top/bottom' buttons no longer function)
As with PaneGrid,
Responsive
is missing itsoperate
method.So I thought perhaps I could fix it in the same way, but was sadly unable to get it working after a bit of poking/prodding.
This is as far as I got writing an
operate
implementation forResponsive
:This seemed to have no effect.
I do see that other methods in
Responsive
do a bit of a dance when working with its contents (mainly resolve).That could be the missing piece, but I can't call it here because
operate
does not have aRenderer
.What is the expected behavior?
Operations should work within Responsive Elements
Version
master
Operative System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: