-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The animation of a Switcher somehow affects the layout of its parent Grid.
Steps to Reproduce
class Demo(rio.Component):
is_on: bool = False
def build(self) -> rio.Component:
return rio.Grid(
[
rio.Switch(is_on=self.bind().is_on),
rio.Text('foo', align_x=0, grow_x=True),
],
[rio.Switcher(rio.Text('Hello') if self.is_on else None)],
min_width=10,
)Screenshots/Videos
No response
Operating System
No response
What browsers are you seeing the problem on?
No response
Browser version
No response
What device are you using?
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working