I'm trying to implement MDL with React, using mostly what you already did so it's easier to maintain but I'm facing a few issues (tleunen/react-mdl#4 for example).
Base on my tests, it seems most of the issues came from components where the initial node moves in the tree. With the layout component, the initial node mdl-layout moves inside the automatically created mdl-layout__container.
Would it be possible to change the implementation so the initial node is the container itself, and creates a new inner node and moves all the children in the new node?
I'm testing a few things based on that right now, it doesn't seem to be a lot of work or a lot of changes. Mostly a few things to adapt in the CSS and the layout__container would become a layout__inner-container for example.
I'm trying to implement MDL with React, using mostly what you already did so it's easier to maintain but I'm facing a few issues (tleunen/react-mdl#4 for example).
Base on my tests, it seems most of the issues came from components where the initial node moves in the tree. With the layout component, the initial node
mdl-layoutmoves inside the automatically createdmdl-layout__container.Would it be possible to change the implementation so the initial node is the container itself, and creates a new inner node and moves all the children in the new node?
I'm testing a few things based on that right now, it doesn't seem to be a lot of work or a lot of changes. Mostly a few things to adapt in the CSS and the
layout__containerwould become alayout__inner-containerfor example.