Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upvalueBox class not always being cleared #106
Comments
|
I've seen this bug before but had hard time reproing it -- this drove me crazy! Thanks so much, I'll see if I can get it fixed based on your example. |
When setting the
colorattribute based upon the value of the input tovalueBoxwhen using the Shiny runtime, the valuebox div does not always have the previous class removed and winds up with twobg-*classes applied (and the wrong value taking precedence).To reproduce:
dangerand see the color change as expectedsuccessand see the color change as expecteddangeragain and see the color not change. Inspecting the HTML shows two classes now applied.Example code as follows:
Column {data-width=650}
Chart A
Column {data-width=350}
Input Selection
Datatable
Valuebox