Fix stateful elements in Components

Previously a component assumed its element was stateless, this was
incorrect!
This commit is contained in:
Conrad Irwin 2023-11-28 20:47:11 -07:00
parent fbe440250e
commit 8d1518d70c
2 changed files with 33 additions and 14 deletions

View file

@ -70,8 +70,7 @@ impl RenderOnce for IconButton {
}
}
// HACK: Add an additional identified element wrapper to fix tooltips not showing up.
div().id(self.id.clone()).child(button)
button
}
}