Skip to content
Discussion options

You must be logged in to vote

Okay, got it work. It seems like you will have to call the function explicitly. Make the following changes in your code for it work.

<div
  x-data
- @scroll.window="$store.profile.scrollShowHideMenu"
+ @scroll.window="$store.profile.scrollShowHideMenu()"
>

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@thetutlage
Comment options

Answer selected by galaczi
Comment options

You must be logged in to vote
2 replies
@viveckio
Comment options

@ekwoka
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants