Fix stateful elements in Components
Previously a component assumed its element was stateless, this was incorrect!
This commit is contained in:
parent
fbe440250e
commit
8d1518d70c
2 changed files with 33 additions and 14 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue