```scala var selected = Rx.variable("Home") selected.map { current => Seq("Home", "Edit", ..).map { x => div( (cls += "active").when(x == current) x ) ) } ``` The active style will not be removed properly even when the selected value is updated.
The active style will not be removed properly even when the selected value is updated.