I'm using MDL lite with Halogen. MDL relies mostly on CSS, but it adds some JS for various features.
This has the unfortunate consequences when used with VDom approach. For example, the textfield
applies is-dirty
class after input had been modified - this, amongst other things, makes the label text not visible (it's displayed similarily to placeholder in the input field by default).
My rendering code is unaware of that, and when it rerenders, this class is dropped, resulting in the label displayed on top of input value.
My immediate solution to this is that I can recreate some of that logic in my components, adding this class as needed. Are there any other approaches? Can we somehow tell the VDom renderer to not touch some elements?