Replies: 2 comments 7 replies
-
You have |
Beta Was this translation helpful? Give feedback.
7 replies
-
Nope it's not a bug, it's a typo in the documentation. auto should be a string. (there isn't any variable called auto). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Although not achieving behaviour expected the following is loading without error
<div x-data="chat()" x-init="() => { listen(); $watch('messages', () => $scroll($refs.anchor) ); }">
However, when I try and add additional parameters such as
<div x-data="chat()" x-init="() => { listen(); $watch('messages', () => $scroll($refs.anchor, {behavior: auto}) ); }">
Then I'm getting the following error
Uncaught (in promise) ReferenceError: auto is not defined
Surely this is a bug???
Beta Was this translation helpful? Give feedback.
All reactions