Search code examples
javascripthtmldommeteormaterialize

Why my meteor app create "hiddendiv common" div tags?


I'm wondering why my meteor app create some tags like this for no reasons?

<div class="hiddendiv common"></div>

Thank you


Solution

  • Meteor is not responsible for inserting this markup inside your application DOM, it's the MaterializeCSS framework that is inserting this hiddenDiv as you can tell from the source code : https://github.com/Dogfalo/materialize/blob/master/js/forms.js#L98

    Apparently, is has something to do with automatic resizing of textareas.