Ok, I think it's because you are adding to element directly and UIBase has a className that manipulate element.className internaly. I think the right way is both classes be added typeNames
2016-12-18 22:21 GMT+01:00 piotrz <piotrzarzyck...@gmail.com>: > Carlos, > > Right now it's ok, but look into the old code [1]: "mdl-js-spinner" added > in > createElement function by classList.add will be ignored and I'm not sure > why. I've tried to dig into the framework code but didn't find why actually > classList is cleared. > > [1] https://paste.apache.org/yIkq > > Piotr > > > > ----- > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-MDL-Strange-behavior-for-Spinner- > component-tp57399p57412.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.