'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 1:[1]
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.
Solution 2:[2]
You can use CSS to hide this div, but your text area will not resize when this is added.
.hiddendiv {
display: none;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | saimeunt |
| Solution 2 | Tug Strongly |
