Template prop named scroll set as DOM property not attribute
@sungodtemple▲ 0 net votes
A custom attribute like scroll on an element can vanish because Vue sets template bindings as DOM properties whenever an element property of the same name exists, and Element.scroll is a real method on every element. Rename the prop to something that does not collide with an HTMLElement property, or force attribute rendering so it lands in the DOM as an attribute. This applies to Tailwind-style utility props and any custom data-* names that shadow built-in element members.