iced_web
iced_web copied to clipboard
`Button` hovered style sheet not working in `iced_web`
In the tour example there is this code:
fn hovered(&self) -> button::Style {
button::Style {
text_color: Color::WHITE,
shadow_offset: Vector::new(1.0, 2.0),
..self.active()
}
}
However nothing actually happens when you hover over the buttons, at least when using the web backend with Chrome. I tried changing the text color to see if I could make anything happen but still nothing.
Might be a bug on the web backend - hover styles work fine on winit + wgpu for me.
State based styling is currently not implemented for the button widget on iced_web
.