Fix stateful elements in Components
Previously a component assumed its element was stateless, this was incorrect!
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user